home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / prim / modeline.elc.z / modeline.elc
Emacs Compiled Lisp  |  1998-05-21  |  14.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 33 38 3a 30 32 20 31 | 39 39 38 0a 3b 3b 3b 20 |:38:02 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 72 69 6d |s-20.3/l|isp/prim|
|000000a0| 2f 6d 6f 64 65 6c 69 6e | 65 2e 65 6c 0a 3b 3b 3b |/modelin|e.el.;;;|
|000000b0| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 32 | emacs v|ersion 2|
|000000c0| 30 2e 34 20 22 45 6d 65 | 72 61 6c 64 22 20 58 45 |0.4 "Eme|rald" XE|
|000000d0| 6d 61 63 73 20 20 4c 75 | 63 69 64 2e 0a 3b 3b 3b |macs Lu|cid..;;;|
|000000e0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000f0| 6e 20 32 2e 32 35 20 58 | 45 6d 61 63 73 3b 20 32 |n 2.25 X|Emacs; 2|
|00000100| 32 2d 4d 61 72 2d 39 36 | 2e 0a 3b 3b 3b 20 6f 70 |2-Mar-96|..;;; op|
|00000110| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|00000120| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|00000130| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|00000140| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000150| 69 6e 20 45 6d 61 63 73 | 20 31 39 2e 0a 0a 28 69 |in Emacs| 19...(i|
|00000160| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000170| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000180| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000190| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|000001a0| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|000001b0| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|000001c0| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|000001d0| 73 69 6f 6e 20 22 32 30 | 22 29 29 29 0a 20 20 20 |sion "20|"))). |
|000001e0| 20 28 65 72 72 6f 72 20 | 22 60 6d 6f 64 65 6c 69 | (error |"`modeli|
|000001f0| 6e 65 2e 65 6c 27 20 77 | 61 73 20 63 6f 6d 70 69 |ne.el' w|as compi|
|00000200| 6c 65 64 20 66 6f 72 20 | 45 6d 61 63 73 20 32 30 |led for |Emacs 20|
|00000210| 22 29 29 0a 0a 28 6f 72 | 20 28 62 6f 75 6e 64 70 |"))..(or| (boundp|
|00000220| 20 27 63 75 72 72 65 6e | 74 2d 6c 6f 61 64 2d 6c | 'curren|t-load-l|
|00000230| 69 73 74 29 20 28 73 65 | 74 71 20 63 75 72 72 65 |ist) (se|tq curre|
|00000240| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 20 6e 69 6c |nt-load-|list nil|
|00000250| 29 29 0a 0a 0a 28 63 75 | 73 74 6f 6d 2d 64 65 63 |))...(cu|stom-dec|
|00000260| 6c 61 72 65 2d 67 72 6f | 75 70 20 27 6d 6f 64 65 |lare-gro|up 'mode|
|00000270| 6c 69 6e 65 20 6e 69 6c | 20 22 4d 6f 64 65 6c 69 |line nil| "Modeli|
|00000280| 6e 65 20 63 75 73 74 6f | 6d 69 7a 61 74 69 6f 6e |ne custo|mization|
|00000290| 73 22 20 3a 67 72 6f 75 | 70 20 27 65 6e 76 69 72 |s" :grou|p 'envir|
|000002a0| 6f 6e 6d 65 6e 74 29 0a | 28 63 75 73 74 6f 6d 2d |onment).|(custom-|
|000002b0| 64 65 63 6c 61 72 65 2d | 76 61 72 69 61 62 6c 65 |declare-|variable|
|000002c0| 20 27 64 72 61 67 2d 6d | 6f 64 65 6c 69 6e 65 2d | 'drag-m|odeline-|
|000002d0| 65 76 65 6e 74 2d 6c 61 | 67 20 27 31 35 30 20 22 |event-la|g '150 "|
|000002e0| 2a 54 68 65 20 70 61 75 | 73 65 20 28 69 6e 20 6d |*The pau|se (in m|
|000002f0| 73 65 63 73 29 20 62 65 | 74 77 65 65 6e 20 64 72 |secs) be|tween dr|
|00000300| 61 67 20 6d 6f 64 65 6c | 69 6e 65 20 65 76 65 6e |ag model|ine even|
|00000310| 74 73 20 62 65 66 6f 72 | 65 20 72 65 64 69 73 70 |ts befor|e redisp|
|00000320| 6c 61 79 69 6e 67 2e 5c | 6e 49 66 20 74 68 69 73 |laying.\|nIf this|
|00000330| 20 76 61 6c 75 65 20 69 | 73 20 74 6f 6f 20 73 6d | value i|s too sm|
|00000340| 61 6c 6c 2c 20 64 72 61 | 67 67 69 6e 67 20 77 69 |all, dra|gging wi|
|00000350| 6c 6c 20 62 65 20 63 68 | 6f 70 70 79 20 62 65 63 |ll be ch|oppy bec|
|00000360| 61 75 73 65 20 72 65 64 | 69 73 70 6c 61 79 20 63 |ause red|isplay c|
|00000370| 61 6e 6e 6f 74 5c 6e 6b | 65 65 70 20 75 70 2e 20 |annot\nk|eep up. |
|00000380| 49 66 20 69 74 20 69 73 | 20 74 6f 6f 20 6c 61 72 |If it is| too lar|
|00000390| 67 65 2c 20 64 72 61 67 | 67 69 6e 67 20 77 69 6c |ge, drag|ging wil|
|000003a0| 6c 20 62 65 20 63 68 6f | 70 70 79 20 62 65 63 61 |l be cho|ppy beca|
|000003b0| 75 73 65 20 6f 66 20 74 | 68 65 20 65 78 70 6c 69 |use of t|he expli|
|000003c0| 63 69 74 5c 6e 72 65 64 | 69 73 70 6c 61 79 20 64 |cit\nred|isplay d|
|000003d0| 65 6c 61 79 20 73 70 65 | 63 69 66 69 65 64 2e 22 |elay spe|cified."|
|000003e0| 20 3a 74 79 70 65 20 27 | 69 6e 74 65 67 65 72 20 | :type '|integer |
|000003f0| 3a 67 72 6f 75 70 20 27 | 6d 6f 64 65 6c 69 6e 65 |:group '|modeline|
|00000400| 29 0a 28 63 75 73 74 6f | 6d 2d 64 65 63 6c 61 72 |).(custo|m-declar|
|00000410| 65 2d 76 61 72 69 61 62 | 6c 65 20 27 6d 6f 64 65 |e-variab|le 'mode|
|00000420| 6c 69 6e 65 2d 63 6c 69 | 63 6b 2d 73 77 61 70 73 |line-cli|ck-swaps|
|00000430| 2d 62 75 66 66 65 72 73 | 20 27 6e 69 6c 20 22 2a |-buffers| 'nil "*|
|00000440| 49 66 20 6e 6f 6e 2d 6e | 69 6c 2c 20 63 6c 69 63 |If non-n|il, clic|
|00000450| 6b 69 6e 67 20 6f 6e 20 | 74 68 65 20 6d 6f 64 65 |king on |the mode|
|00000460| 6c 69 6e 65 20 63 68 61 | 6e 67 65 73 20 74 68 65 |line cha|nges the|
|00000470| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 2e | current| buffer.|
|00000480| 5c 6e 43 6c 69 63 6b 20 | 6f 6e 20 74 68 65 20 6c |\nClick |on the l|
|00000490| 65 66 74 20 68 61 6c 66 | 20 6f 66 20 74 68 65 20 |eft half| of the |
|000004a0| 6d 6f 64 65 6c 69 6e 65 | 20 63 79 63 6c 65 73 20 |modeline| cycles |
|000004b0| 66 6f 72 77 61 72 64 20 | 74 68 72 6f 75 67 68 20 |forward |through |
|000004c0| 74 68 65 5c 6e 62 75 66 | 66 65 72 20 6c 69 73 74 |the\nbuf|fer list|
|000004d0| 20 61 6e 64 20 63 6c 69 | 63 6b 69 6e 67 20 6f 6e | and cli|cking on|
|000004e0| 20 74 68 65 20 72 69 67 | 68 74 20 68 61 6c 66 20 | the rig|ht half |
|000004f0| 63 79 63 6c 65 73 20 62 | 61 63 6b 77 61 72 64 2e |cycles b|ackward.|
|00000500| 22 20 3a 74 79 70 65 20 | 27 62 6f 6f 6c 65 61 6e |" :type |'boolean|
|00000510| 20 3a 67 72 6f 75 70 20 | 27 6d 6f 64 65 6c 69 6e | :group |'modelin|
|00000520| 65 29 0a 23 40 32 32 35 | 20 52 65 73 69 7a 65 20 |e).#@225| Resize |
|00000530| 61 20 77 69 6e 64 6f 77 | 20 62 79 20 64 72 61 67 |a window| by drag|
|00000540| 67 69 6e 67 20 69 74 73 | 20 6d 6f 64 65 6c 69 6e |ging its| modelin|
|00000550| 65 2e 0a 54 68 69 73 20 | 63 6f 6d 6d 61 6e 64 20 |e..This |command |
|00000560| 73 68 6f 75 6c 64 20 62 | 65 20 62 6f 75 6e 64 20 |should b|e bound |
|00000570| 74 6f 20 61 20 62 75 74 | 74 6f 6e 2d 70 72 65 73 |to a but|ton-pres|
|00000580| 73 20 65 76 65 6e 74 20 | 69 6e 20 6d 6f 64 65 6c |s event |in model|
|00000590| 69 6e 65 2d 6d 61 70 2e | 0a 48 6f 6c 64 69 6e 67 |ine-map.|.Holding|
|000005a0| 20 64 6f 77 6e 20 61 20 | 6d 6f 75 73 65 20 62 75 | down a |mouse bu|
|000005b0| 74 74 6f 6e 20 61 6e 64 | 20 6d 6f 76 69 6e 67 20 |tton and| moving |
|000005c0| 74 68 65 20 6d 6f 75 73 | 65 20 75 70 20 61 6e 64 |the mous|e up and|
|000005d0| 20 64 6f 77 6e 20 77 69 | 6c 6c 0a 6d 61 6b 65 20 | down wi|ll.make |
|000005e0| 74 68 65 20 63 6c 69 63 | 6b 65 64 2d 6f 6e 20 77 |the clic|ked-on w|
|000005f0| 69 6e 64 6f 77 20 74 61 | 6c 6c 65 72 20 6f 72 20 |indow ta|ller or |
|00000600| 73 68 6f 72 74 65 72 2e | 1f 0a 28 64 65 66 61 6c |shorter.|..(defal|
|00000610| 69 61 73 20 27 6d 6f 75 | 73 65 2d 64 72 61 67 2d |ias 'mou|se-drag-|
|00000620| 6d 6f 64 65 6c 69 6e 65 | 20 23 5b 28 65 76 65 6e |modeline| #[(even|
|00000630| 74 29 20 22 c0 09 21 ac | 85 c2 c3 0c 5c 22 88 c5 |t) "..!.|....\"..|
|00000640| 09 21 ac 84 c2 c6 21 88 | c7 c8 09 21 c9 09 21 ca |.!....!.|...!..!.|
|00000650| 09 21 cb cc 21 cd c7 89 | 89 89 89 89 89 89 89 89 |.!..!...|........|
|00000660| 89 89 1e 0e 1e 0f 1e 10 | 1e 11 1e 12 1e 13 1e 14 |........|........|
|00000670| 1e 15 19 1e 16 1e 17 1e | 18 1e 19 1e 1a 1e 1b 1e |........|........|
|00000680| 1c 1e 1d 1e 1e df 0e 1c | 21 16 14 e0 e1 0e 1b 5c |........|!......\|
|00000690| 22 16 18 0e 5c 22 0e 18 | 5f e3 0e 1b 21 0e 18 a6 |"...\"..|_...!...|
|000006a0| 5c 5c 16 15 e4 0e 25 0e | 1b 5c 22 ab 90 e0 e6 0e |\\....%.|.\".....|
|000006b0| 1b 5c 22 e4 0e 27 0e 1b | 5c 22 e8 5f 5c 5c aa 88 |.\"..'..|\"._\\..|
|000006c0| e4 0e 27 0e 1b 5c 22 e8 | 5f 16 17 e9 0e 14 21 0e |..'..\".|_.....!.|
|000006d0| 1c 61 ac 83 c7 16 14 0e | 14 ac 89 ea cc 21 ab 84 |.a......|.....!..|
|000006e0| c2 eb 21 88 0e 14 ad 84 | ec 0e 1b 21 16 16 0e 1e |..!.....|...!....|
|000006f0| 3f 85 b8 01 ed 09 21 11 | ee 09 21 ac 85 ef 09 21 |?.....!.|..!....!|
|00000700| ab 8d 0e 30 09 43 a4 16 | 30 cc 89 16 1e aa 61 f1 |...0.C..|0.....a.|
|00000710| 09 21 ab 8f cc 16 1e 0e | 32 ab 53 f3 09 0e 1d 5c |.!......|2.S....\|
|00000720| 22 88 aa 4b f4 09 21 ab | 86 cc 89 16 1e aa 42 f5 |"..K..!.|......B.|
|00000730| 09 21 ac 86 f6 09 21 88 | aa 35 0e 1c c9 09 21 61 |.!....!.|.5....!a|
|00000740| ac 86 cc 89 16 1e aa 29 | f7 f8 09 21 0e 19 5a 21 |.......)|...!..Z!|
|00000750| 0e 39 57 ac 1a f8 09 21 | 16 19 fa 09 21 16 13 fb |.9W....!|....!...|
|00000760| 0e 1b 21 89 16 10 41 40 | 16 12 fc 0e 10 38 16 11 |..!...A@|.....8..|
|00000770| 0e 13 0e 12 5a 0e 17 5b | 5a 0e 15 57 ab 8b 0e 12 |....Z..[|Z..W....|
|00000780| 0e 15 5c 5c 0e 17 5b 5c | 5c 16 13 0e 13 0e 11 5a |..\\..[\|\......Z|
|00000790| 0e 17 5b e8 a5 5a 16 0e | fd 20 16 0f 0e 16 ab a0 |..[..Z..|. ......|
|000007a0| 0e 0e cd 56 ab 95 e3 0e | 14 21 0e 0e 5a 0e 18 57 |...V....|.!..Z..W|
|000007b0| ab 89 e3 0e 14 21 0e 18 | 5a 16 0e 0e 0e 5b 16 0e |.....!..|Z....[..|
|000007c0| 0e 0e 0e 18 a5 16 0e fe | 0e 0e c7 0e 16 ab 84 0e |........|........|
|000007d0| 14 aa 82 0e 1b 23 88 0e | 1a cb cc 21 55 ab 91 0e |.....#..|...!U...|
|000007e0| 16 84 b1 00 0e 12 fb 0e | 1b 21 41 40 55 84 b1 00 |........|.!A@U...|
|000007f0| ff 0e 0f 21 88 82 b1 00 | 2e 12 87 22 20 5b 62 75 |...!....|..." [bu|
|00000800| 74 74 6f 6e 2d 70 72 65 | 73 73 2d 65 76 65 6e 74 |tton-pre|ss-event|
|00000810| 2d 70 20 65 76 65 6e 74 | 20 65 72 72 6f 72 20 22 |-p event| error "|
|00000820| 25 73 20 6d 75 73 74 20 | 62 65 20 69 6e 76 6f 6b |%s must |be invok|
|00000830| 65 64 20 62 79 20 61 20 | 6d 6f 75 73 65 2d 70 72 |ed by a |mouse-pr|
|00000840| 65 73 73 22 20 74 68 69 | 73 2d 63 6f 6d 6d 61 6e |ess" thi|s-comman|
|00000850| 64 20 65 76 65 6e 74 2d | 6f 76 65 72 2d 6d 6f 64 |d event-|over-mod|
|00000860| 65 6c 69 6e 65 2d 70 20 | 22 6e 6f 74 20 6f 76 65 |eline-p |"not ove|
|00000870| 72 20 61 20 6d 6f 64 65 | 6c 69 6e 65 22 20 6e 69 |r a mode|line" ni|
|00000880| 6c 20 65 76 65 6e 74 2d | 79 20 65 76 65 6e 74 2d |l event-|y event-|
|00000890| 66 72 61 6d 65 20 65 76 | 65 6e 74 2d 77 69 6e 64 |frame ev|ent-wind|
|000008a0| 6f 77 20 63 6f 75 6e 74 | 2d 77 69 6e 64 6f 77 73 |ow count|-windows|
|000008b0| 20 74 20 30 20 67 72 6f | 77 74 68 20 77 63 6f 6e | t 0 gro|wth wcon|
|000008c0| 66 69 67 20 65 64 67 65 | 73 20 62 6f 74 20 74 6f |fig edge|s bot to|
|000008d0| 70 20 79 20 6d 69 6e 69 | 62 75 66 66 65 72 20 6d |p y mini|buffer m|
|000008e0| 69 6e 2d 68 65 69 67 68 | 74 20 73 68 6f 75 6c 64 |in-heigh|t should|
|000008f0| 2d 65 6e 6c 61 72 67 65 | 2d 6d 69 6e 69 62 75 66 |-enlarge|-minibuf|
|00000900| 66 65 72 20 6d 6f 64 65 | 6c 69 6e 65 2d 68 65 69 |fer mode|line-hei|
|00000910| 67 68 74 20 64 65 66 61 | 75 6c 74 2d 6c 69 6e 65 |ght defa|ult-line|
|00000920| 2d 68 65 69 67 68 74 20 | 6c 61 73 74 2d 74 69 6d |-height |last-tim|
|00000930| 65 73 74 61 6d 70 20 73 | 74 61 72 74 2d 6e 77 69 |estamp s|tart-nwi|
|00000940| 6e 64 6f 77 73 20 73 74 | 61 72 74 2d 65 76 65 6e |ndows st|art-even|
|00000950| 74 2d 77 69 6e 64 6f 77 | 20 73 74 61 72 74 2d 65 |t-window| start-e|
|00000960| 76 65 6e 74 2d 66 72 61 | 6d 65 20 64 65 70 72 65 |vent-fra|me depre|
|00000970| 73 73 2d 6c 69 6e 65 20 | 64 6f 6e 65 20 6d 69 6e |ss-line |done min|
|00000980| 69 62 75 66 66 65 72 2d | 77 69 6e 64 6f 77 20 66 |ibuffer-|window f|
|00000990| 61 63 65 2d 68 65 69 67 | 68 74 20 64 65 66 61 75 |ace-heig|ht defau|
|000009a0| 6c 74 20 77 69 6e 64 6f | 77 2d 6d 69 6e 2d 68 65 |lt windo|w-min-he|
|000009b0| 69 67 68 74 20 77 69 6e | 64 6f 77 2d 70 69 78 65 |ight win|dow-pixe|
|000009c0| 6c 2d 68 65 69 67 68 74 | 20 73 70 65 63 69 66 69 |l-height| specifi|
|000009d0| 65 72 2d 69 6e 73 74 61 | 6e 63 65 20 68 61 73 2d |er-insta|nce has-|
|000009e0| 6d 6f 64 65 6c 69 6e 65 | 2d 70 20 6d 6f 64 65 6c |modeline|-p model|
|000009f0| 69 6e 65 20 6d 6f 64 65 | 6c 69 6e 65 2d 73 68 61 |ine mode|line-sha|
|00000a00| 64 6f 77 2d 74 68 69 63 | 6b 6e 65 73 73 20 32 20 |dow-thic|kness 2 |
|00000a10| 77 69 6e 64 6f 77 2d 66 | 72 61 6d 65 20 6f 6e 65 |window-f|rame one|
|00000a20| 2d 77 69 6e 64 6f 77 2d | 70 20 22 41 74 74 65 6d |-window-|p "Attem|
|00000a30| 70 74 20 74 6f 20 72 65 | 73 69 7a 65 20 73 6f 6c |pt to re|size sol|
|00000a40| 65 20 77 69 6e 64 6f 77 | 22 20 77 69 6e 64 6f 77 |e window|" window|
|00000a50| 2d 6c 6f 77 65 73 74 2d | 70 20 6e 65 78 74 2d 65 |-lowest-|p next-e|
|00000a60| 76 65 6e 74 20 6d 69 73 | 63 2d 75 73 65 72 2d 65 |vent mis|c-user-e|
|00000a70| 76 65 6e 74 2d 70 20 6b | 65 79 2d 70 72 65 73 73 |vent-p k|ey-press|
|00000a80| 2d 65 76 65 6e 74 2d 70 | 20 75 6e 72 65 61 64 2d |-event-p| unread-|
|00000a90| 63 6f 6d 6d 61 6e 64 2d | 65 76 65 6e 74 73 20 62 |command-|events b|
|00000aa0| 75 74 74 6f 6e 2d 72 65 | 6c 65 61 73 65 2d 65 76 |utton-re|lease-ev|
|00000ab0| 65 6e 74 2d 70 20 6d 6f | 64 65 6c 69 6e 65 2d 63 |ent-p mo|deline-c|
|00000ac0| 6c 69 63 6b 2d 73 77 61 | 70 73 2d 62 75 66 66 65 |lick-swa|ps-buffe|
|00000ad0| 72 73 20 6d 6f 75 73 65 | 2d 72 65 6c 65 61 73 65 |rs mouse|-release|
|00000ae0| 2d 6d 6f 64 65 6c 69 6e | 65 20 62 75 74 74 6f 6e |-modelin|e button|
|00000af0| 2d 65 76 65 6e 74 2d 70 | 20 6d 6f 74 69 6f 6e 2d |-event-p| motion-|
|00000b00| 65 76 65 6e 74 2d 70 20 | 64 69 73 70 61 74 63 68 |event-p |dispatch|
|00000b10| 2d 65 76 65 6e 74 20 61 | 62 73 20 65 76 65 6e 74 |-event a|bs event|
|00000b20| 2d 74 69 6d 65 73 74 61 | 6d 70 20 64 72 61 67 2d |-timesta|mp drag-|
|00000b30| 6d 6f 64 65 6c 69 6e 65 | 2d 65 76 65 6e 74 2d 6c |modeline|-event-l|
|00000b40| 61 67 20 65 76 65 6e 74 | 2d 79 2d 70 69 78 65 6c |ag event|-y-pixel|
|00000b50| 20 77 69 6e 64 6f 77 2d | 70 69 78 65 6c 2d 65 64 | window-|pixel-ed|
|00000b60| 67 65 73 20 33 20 63 75 | 72 72 65 6e 74 2d 77 69 |ges 3 cu|rrent-wi|
|00000b70| 6e 64 6f 77 2d 63 6f 6e | 66 69 67 75 72 61 74 69 |ndow-con|figurati|
|00000b80| 6f 6e 20 65 6e 6c 61 72 | 67 65 2d 77 69 6e 64 6f |on enlar|ge-windo|
|00000b90| 77 20 73 65 74 2d 77 69 | 6e 64 6f 77 2d 63 6f 6e |w set-wi|ndow-con|
|00000ba0| 66 69 67 75 72 61 74 69 | 6f 6e 5d 20 31 39 20 28 |figurati|on] 19 (|
|00000bb0| 23 24 20 2e 20 31 33 32 | 31 29 20 22 65 22 5d 29 |#$ . 132|1) "e"])|
|00000bc0| 0a 23 40 33 32 39 20 48 | 61 6e 64 6c 65 20 6d 6f |.#@329 H|andle mo|
|00000bd0| 64 65 6c 69 6e 65 20 63 | 6c 69 63 6b 20 45 56 45 |deline c|lick EVE|
|00000be0| 4e 54 20 6f 6e 20 4c 49 | 4e 45 2d 4e 55 4d 20 62 |NT on LI|NE-NUM b|
|00000bf0| 79 20 73 77 69 74 63 68 | 69 6e 67 20 62 75 66 66 |y switch|ing buff|
|00000c00| 65 72 73 2e 0a 49 66 20 | 63 6c 69 63 6b 20 6f 6e |ers..If |click on|
|00000c10| 20 6c 65 66 74 20 68 61 | 6c 66 20 6f 66 20 61 20 | left ha|lf of a |
|00000c20| 66 72 61 6d 65 27 73 20 | 6d 6f 64 65 6c 69 6e 65 |frame's |modeline|
|00000c30| 2c 20 62 75 72 79 20 63 | 75 72 72 65 6e 74 20 62 |, bury c|urrent b|
|00000c40| 75 66 66 65 72 2e 0a 49 | 66 20 63 6c 69 63 6b 20 |uffer..I|f click |
|00000c50| 6f 6e 20 72 69 67 68 74 | 20 68 61 6c 66 20 6f 66 |on right| half of|
|00000c60| 20 61 20 66 72 61 6d 65 | 27 73 20 6d 6f 64 65 6c | a frame|'s model|
|00000c70| 69 6e 65 2c 20 72 61 69 | 73 65 20 62 6f 74 74 6f |ine, rai|se botto|
|00000c80| 6d 6d 6f 73 74 20 62 75 | 66 66 65 72 2e 0a 41 72 |mmost bu|ffer..Ar|
|00000c90| 67 73 20 61 72 65 3a 20 | 45 56 45 4e 54 2c 20 74 |gs are: |EVENT, t|
|00000ca0| 68 65 20 6d 6f 75 73 65 | 20 72 65 6c 65 61 73 65 |he mouse| release|
|00000cb0| 20 65 76 65 6e 74 2c 20 | 61 6e 64 20 4c 49 4e 45 | event, |and LINE|
|00000cc0| 2d 4e 55 4d 2c 20 74 68 | 65 20 6c 69 6e 65 20 6e |-NUM, th|e line n|
|00000cd0| 75 6d 62 65 72 0a 77 69 | 74 68 69 6e 20 74 68 65 |umber.wi|thin the|
|00000ce0| 20 66 72 61 6d 65 20 61 | 74 20 77 68 69 63 68 20 | frame a|t which |
|00000cf0| 74 68 65 20 6d 6f 75 73 | 65 20 77 61 73 20 66 69 |the mous|e was fi|
|00000d00| 72 73 74 20 64 65 70 72 | 65 73 73 65 64 2e 1f 0a |rst depr|essed...|
|00000d10| 28 64 65 66 61 6c 69 61 | 73 20 27 6d 6f 75 73 65 |(defalia|s 'mouse|
|00000d20| 2d 72 65 6c 65 61 73 65 | 2d 6d 6f 64 65 6c 69 6e |-release|-modelin|
|00000d30| 65 20 23 5b 28 65 76 65 | 6e 74 20 6c 69 6e 65 2d |e #[(eve|nt line-|
|00000d40| 6e 75 6d 29 20 22 08 c1 | 5c 6e 21 55 ad 94 c3 5c |num) "..|\n!U...\|
|00000d50| 6e 21 c4 c5 5c 6e 21 21 | c6 a5 57 ab 84 c7 5c 6e |n!..\n!!|..W...\n|
|00000d60| 21 87 c8 5c 6e 21 87 22 | 20 5b 6c 69 6e 65 2d 6e |!..\n!."| [line-n|
|00000d70| 75 6d 20 65 76 65 6e 74 | 2d 79 20 65 76 65 6e 74 |um event|-y event|
|00000d80| 20 65 76 65 6e 74 2d 78 | 20 77 69 6e 64 6f 77 2d | event-x| window-|
|00000d90| 77 69 64 74 68 20 65 76 | 65 6e 74 2d 77 69 6e 64 |width ev|ent-wind|
|00000da0| 6f 77 20 32 20 6d 6f 75 | 73 65 2d 62 75 72 79 2d |ow 2 mou|se-bury-|
|00000db0| 62 75 66 66 65 72 20 6d | 6f 75 73 65 2d 75 6e 62 |buffer m|ouse-unb|
|00000dc0| 75 72 79 2d 62 75 66 66 | 65 72 5d 20 34 20 28 23 |ury-buff|er] 4 (#|
|00000dd0| 24 20 2e 20 33 30 31 35 | 29 5d 29 0a 28 62 79 74 |$ . 3015|)]).(byt|
|00000de0| 65 2d 63 6f 64 65 20 22 | c0 11 c1 5c 6e 42 12 c1 |e-code "|...\nB..|
|00000df0| 87 22 20 5b 28 22 57 69 | 6e 64 6f 77 20 43 6f 6d |." [("Wi|ndow Com|
|00000e00| 6d 61 6e 64 73 22 20 5b | 22 44 65 6c 65 74 65 20 |mands" [|"Delete |
|00000e10| 57 69 6e 64 6f 77 20 41 | 62 6f 76 65 22 20 64 65 |Window A|bove" de|
|00000e20| 6c 65 74 65 2d 77 69 6e | 64 6f 77 20 74 5d 20 5b |lete-win|dow t] [|
|00000e30| 22 44 65 6c 65 74 65 20 | 4f 74 68 65 72 20 57 69 |"Delete |Other Wi|
|00000e40| 6e 64 6f 77 73 22 20 64 | 65 6c 65 74 65 2d 6f 74 |ndows" d|elete-ot|
|00000e50| 68 65 72 2d 77 69 6e 64 | 6f 77 73 20 74 5d 20 5b |her-wind|ows t] [|
|00000e60| 22 53 70 6c 69 74 20 57 | 69 6e 64 6f 77 20 41 62 |"Split W|indow Ab|
|00000e70| 6f 76 65 22 20 73 70 6c | 69 74 2d 77 69 6e 64 6f |ove" spl|it-windo|
|00000e80| 77 2d 76 65 72 74 69 63 | 61 6c 6c 79 20 74 5d 20 |w-vertic|ally t] |
|00000e90| 5b 22 53 70 6c 69 74 20 | 57 69 6e 64 6f 77 20 48 |["Split |Window H|
|00000ea0| 6f 72 69 7a 6f 6e 74 61 | 6c 6c 79 22 20 73 70 6c |orizonta|lly" spl|
|00000eb0| 69 74 2d 77 69 6e 64 6f | 77 2d 68 6f 72 69 7a 6f |it-windo|w-horizo|
|00000ec0| 6e 74 61 6c 6c 79 20 74 | 5d 20 5b 22 42 61 6c 61 |ntally t|] ["Bala|
|00000ed0| 6e 63 65 20 57 69 6e 64 | 6f 77 73 22 20 62 61 6c |nce Wind|ows" bal|
|00000ee0| 61 6e 63 65 2d 77 69 6e | 64 6f 77 73 20 74 5d 29 |ance-win|dows t])|
|00000ef0| 20 6d 6f 64 65 6c 69 6e | 65 2d 6d 65 6e 75 20 63 | modelin|e-menu c|
|00000f00| 75 72 72 65 6e 74 2d 6c | 6f 61 64 2d 6c 69 73 74 |urrent-l|oad-list|
|00000f10| 5d 20 32 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |] 2).(de|falias '|
|00000f20| 6d 6f 64 65 6c 69 6e 65 | 2d 6d 65 6e 75 20 23 5b |modeline|-menu #[|
|00000f30| 28 65 76 65 6e 74 29 20 | 22 c0 c1 c2 c3 c4 0d 21 |(event) |"......!|
|00000f40| 21 5c 22 0e 06 41 42 0d | 5c 22 87 22 20 5b 70 6f |!\"..AB.|\"." [po|
|00000f50| 70 75 70 2d 6d 65 6e 75 | 2d 61 6e 64 2d 65 78 65 |pup-menu|-and-exe|
|00000f60| 63 75 74 65 2d 69 6e 2d | 77 69 6e 64 6f 77 20 66 |cute-in-|window f|
|00000f70| 6f 72 6d 61 74 20 22 57 | 69 6e 64 6f 77 20 43 6f |ormat "W|indow Co|
|00000f80| 6d 6d 61 6e 64 73 20 66 | 6f 72 20 25 53 3a 22 20 |mmands f|or %S:" |
|00000f90| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 65 76 65 6e |buffer-n|ame even|
|00000fa0| 74 2d 62 75 66 66 65 72 | 20 65 76 65 6e 74 20 6d |t-buffer| event m|
|00000fb0| 6f 64 65 6c 69 6e 65 2d | 6d 65 6e 75 5d 20 36 20 |odeline-|menu] 6 |
|00000fc0| 6e 69 6c 20 22 65 22 5d | 29 0a 23 40 31 38 38 20 |nil "e"]|).#@188 |
|00000fd0| 4b 65 79 6d 61 70 20 63 | 6f 6e 73 75 6c 74 65 64 |Keymap c|onsulted|
|00000fe0| 20 66 6f 72 20 6d 6f 75 | 73 65 2d 63 6c 69 63 6b | for mou|se-click|
|00000ff0| 73 20 6f 6e 20 74 68 65 | 20 6d 6f 64 65 6c 69 6e |s on the| modelin|
|00001000| 65 20 6f 66 20 61 20 77 | 69 6e 64 6f 77 2e 0a 54 |e of a w|indow..T|
|00001010| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 6d 61 79 |his vari|able may|
|00001020| 20 62 65 20 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c | be buff|er-local|
|00001030| 3b 20 69 74 73 20 76 61 | 6c 75 65 20 77 69 6c 6c |; its va|lue will|
|00001040| 20 62 65 20 6c 6f 6f 6b | 65 64 20 75 70 20 69 6e | be look|ed up in|
|00001050| 0a 74 68 65 20 62 75 66 | 66 65 72 20 6f 66 20 74 |.the buf|fer of t|
|00001060| 68 65 20 77 69 6e 64 6f | 77 20 77 68 6f 73 65 20 |he windo|w whose |
|00001070| 6d 6f 64 65 6c 69 6e 65 | 20 77 61 73 20 63 6c 69 |modeline| was cli|
|00001080| 63 6b 65 64 20 75 70 6f | 6e 2e 1f 0a 28 64 65 66 |cked upo|n...(def|
|00001090| 76 61 72 20 6d 6f 64 65 | 6c 69 6e 65 2d 6d 61 70 |var mode|line-map|
|000010a0| 20 28 6d 61 6b 65 2d 73 | 70 61 72 73 65 2d 6b 65 | (make-s|parse-ke|
|000010b0| 79 6d 61 70 20 27 6d 6f | 64 65 6c 69 6e 65 2d 6d |ymap 'mo|deline-m|
|000010c0| 61 70 29 20 28 23 24 20 | 2e 20 34 30 34 38 29 29 |ap) (#$ |. 4048))|
|000010d0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 09 c2 |.(byte-c|ode "...|
|000010e0| c3 23 88 c0 09 c4 c5 23 | 88 c0 09 c6 c7 23 88 c8 |.#.....#|.....#..|
|000010f0| c9 ca 5c 22 88 cb c9 cc | 5c 22 88 cd ce 21 ab 95 |..\"....|\"...!..|
|00001100| cf c9 d0 d1 d2 24 88 d3 | c9 d4 d5 d6 24 88 d3 c9 |.....$..|....$...|
|00001110| d7 d5 d8 24 88 d5 87 22 | 20 5b 64 65 66 69 6e 65 |...$..."| [define|
|00001120| 2d 6b 65 79 20 6d 6f 64 | 65 6c 69 6e 65 2d 6d 61 |-key mod|eline-ma|
|00001130| 70 20 62 75 74 74 6f 6e | 31 20 6d 6f 75 73 65 2d |p button|1 mouse-|
|00001140| 64 72 61 67 2d 6d 6f 64 | 65 6c 69 6e 65 20 62 75 |drag-mod|eline bu|
|00001150| 74 74 6f 6e 32 20 23 5b | 6e 69 6c 20 22 c0 87 22 |tton2 #[|nil ".."|
|00001160| 20 5b 6e 69 6c 5d 20 31 | 20 6e 69 6c 20 22 40 22 | [nil] 1| nil "@"|
|00001170| 5d 20 62 75 74 74 6f 6e | 33 20 6d 6f 64 65 6c 69 |] button|3 modeli|
|00001180| 6e 65 2d 6d 65 6e 75 20 | 6d 61 6b 65 2d 66 61 63 |ne-menu |make-fac|
|00001190| 65 20 6d 6f 64 65 6c 69 | 6e 65 2d 6d 6f 75 73 61 |e modeli|ne-mousa|
|000011a0| 62 6c 65 20 22 46 61 63 | 65 20 66 6f 72 20 6d 6f |ble "Fac|e for mo|
|000011b0| 75 73 61 62 6c 65 20 70 | 6f 72 74 69 6f 6e 73 20 |usable p|ortions |
|000011c0| 6f 66 20 74 68 65 20 6d | 6f 64 65 6c 69 6e 65 2e |of the m|odeline.|
|000011d0| 22 20 73 65 74 2d 66 61 | 63 65 2d 70 61 72 65 6e |" set-fa|ce-paren|
|000011e0| 74 20 6d 6f 64 65 6c 69 | 6e 65 20 66 65 61 74 75 |t modeli|ne featu|
|000011f0| 72 65 70 20 78 20 73 65 | 74 2d 66 61 63 65 2d 66 |rep x se|t-face-f|
|00001200| 6f 72 65 67 72 6f 75 6e | 64 20 22 66 69 72 65 62 |oregroun|d "fireb|
|00001210| 72 69 63 6b 22 20 67 6c | 6f 62 61 6c 20 28 63 6f |rick" gl|obal (co|
|00001220| 6c 6f 72 20 78 29 20 73 | 65 74 2d 66 61 63 65 2d |lor x) s|et-face-|
|00001230| 66 6f 6e 74 20 5b 62 6f | 6c 64 5d 20 6e 69 6c 20 |font [bo|ld] nil |
|00001240| 28 6d 6f 6e 6f 20 78 29 | 20 5b 62 6f 6c 64 5d 20 |(mono x)| [bold] |
|00001250| 28 67 72 61 79 73 63 61 | 6c 65 20 78 29 5d 20 35 |(graysca|le x)] 5|
|00001260| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6d 61 6b |).(defal|ias 'mak|
|00001270| 65 2d 6d 6f 64 65 6c 69 | 6e 65 2d 63 6f 6d 6d 61 |e-modeli|ne-comma|
|00001280| 6e 64 2d 77 72 61 70 70 | 65 72 20 27 28 6d 61 63 |nd-wrapp|er '(mac|
|00001290| 72 6f 20 2e 20 23 5b 28 | 63 6f 6d 6d 61 6e 64 29 |ro . #[(|command)|
|000012a0| 20 22 c0 c1 c2 c3 c4 c5 | c6 c7 c8 0e 09 21 44 44 | "......|.....!DD|
|000012b0| 45 46 44 87 22 20 5b 66 | 75 6e 63 74 69 6f 6e 20 |EFD." [f|unction |
|000012c0| 6c 61 6d 62 64 61 20 28 | 65 76 65 6e 74 29 20 28 |lambda (|event) (|
|000012d0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 65 22 29 |interact|ive "e")|
|000012e0| 20 73 61 76 65 2d 73 65 | 6c 65 63 74 65 64 2d 77 | save-se|lected-w|
|000012f0| 69 6e 64 6f 77 20 28 73 | 65 6c 65 63 74 2d 77 69 |indow (s|elect-wi|
|00001300| 6e 64 6f 77 20 28 65 76 | 65 6e 74 2d 77 69 6e 64 |ndow (ev|ent-wind|
|00001310| 6f 77 20 65 76 65 6e 74 | 29 29 20 63 61 6c 6c 2d |ow event|)) call-|
|00001320| 69 6e 74 65 72 61 63 74 | 69 76 65 6c 79 20 71 75 |interact|ively qu|
|00001330| 6f 74 65 20 65 76 61 6c | 20 63 6f 6d 6d 61 6e 64 |ote eval| command|
|00001340| 5d 20 31 30 5d 29 29 0a | 23 40 32 36 39 20 41 6c |] 10])).|#@269 Al|
|00001350| 69 73 74 20 73 61 79 69 | 6e 67 20 68 6f 77 20 74 |ist sayi|ng how t|
|00001360| 6f 20 73 68 6f 77 20 6d | 69 6e 6f 72 20 6d 6f 64 |o show m|inor mod|
|00001370| 65 73 20 69 6e 20 74 68 | 65 20 6d 6f 64 65 6c 69 |es in th|e modeli|
|00001380| 6e 65 2e 0a 45 61 63 68 | 20 65 6c 65 6d 65 6e 74 |ne..Each| element|
|00001390| 20 6c 6f 6f 6b 73 20 6c | 69 6b 65 20 28 56 41 52 | looks l|ike (VAR|
|000013a0| 49 41 42 4c 45 20 53 54 | 52 49 4e 47 29 3b 0a 53 |IABLE ST|RING);.S|
|000013b0| 54 52 49 4e 47 20 69 73 | 20 69 6e 63 6c 75 64 65 |TRING is| include|
|000013c0| 64 20 69 6e 20 74 68 65 | 20 6d 6f 64 65 6c 69 6e |d in the| modelin|
|000013d0| 65 20 69 66 66 20 56 41 | 52 49 41 42 4c 45 27 73 |e iff VA|RIABLE's|
|000013e0| 20 76 61 6c 75 65 20 69 | 73 20 6e 6f 6e 2d 6e 69 | value i|s non-ni|
|000013f0| 6c 2e 0a 0a 41 63 74 75 | 61 6c 6c 79 2c 20 53 54 |l...Actu|ally, ST|
|00001400| 52 49 4e 47 20 6e 65 65 | 64 20 6e 6f 74 20 62 65 |RING nee|d not be|
|00001410| 20 61 20 73 74 72 69 6e | 67 3b 20 61 6e 79 20 70 | a strin|g; any p|
|00001420| 6f 73 73 69 62 6c 65 20 | 6d 6f 64 65 6c 69 6e 65 |ossible |modeline|
|00001430| 20 65 6c 65 6d 65 6e 74 | 0a 69 73 20 6f 6b 61 79 | element|.is okay|
|00001440| 2e 20 20 53 65 65 20 60 | 6d 6f 64 65 6c 69 6e 65 |. See `|modeline|
|00001450| 2d 66 6f 72 6d 61 74 27 | 2e 1f 0a 28 64 65 66 76 |-format'|...(defv|
|00001460| 61 72 20 6d 69 6e 6f 72 | 2d 6d 6f 64 65 2d 61 6c |ar minor|-mode-al|
|00001470| 69 73 74 20 6e 69 6c 20 | 28 23 24 20 2e 20 34 39 |ist nil |(#$ . 49|
|00001480| 34 32 29 29 0a 23 40 32 | 37 38 20 41 6c 69 73 74 |42)).#@2|78 Alist|
|00001490| 20 6f 66 20 6b 65 79 6d | 61 70 73 20 74 6f 20 75 | of keym|aps to u|
|000014a0| 73 65 20 66 6f 72 20 6d | 69 6e 6f 72 20 6d 6f 64 |se for m|inor mod|
|000014b0| 65 73 2e 0a 45 61 63 68 | 20 65 6c 65 6d 65 6e 74 |es..Each| element|
|000014c0| 20 6c 6f 6f 6b 73 20 6c | 69 6b 65 20 28 56 41 52 | looks l|ike (VAR|
|000014d0| 49 41 42 4c 45 20 2e 20 | 4b 45 59 4d 41 50 29 3b |IABLE . |KEYMAP);|
|000014e0| 20 4b 45 59 4d 41 50 20 | 69 73 20 75 73 65 64 20 | KEYMAP |is used |
|000014f0| 74 6f 20 72 65 61 64 0a | 6b 65 79 20 73 65 71 75 |to read.|key sequ|
|00001500| 65 6e 63 65 73 20 61 6e | 64 20 6c 6f 6f 6b 20 75 |ences an|d look u|
|00001510| 70 20 62 69 6e 64 69 6e | 67 73 20 69 66 66 20 56 |p bindin|gs iff V|
|00001520| 41 52 49 41 42 4c 45 27 | 73 20 76 61 6c 75 65 20 |ARIABLE'|s value |
|00001530| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2e 0a 49 66 20 74 |is non-n|il..If t|
|00001540| 77 6f 20 61 63 74 69 76 | 65 20 6b 65 79 6d 61 70 |wo activ|e keymap|
|00001550| 73 20 62 69 6e 64 20 74 | 68 65 20 73 61 6d 65 20 |s bind t|he same |
|00001560| 6b 65 79 2c 20 74 68 65 | 20 6b 65 79 6d 61 70 20 |key, the| keymap |
|00001570| 61 70 70 65 61 72 69 6e | 67 20 65 61 72 6c 69 65 |appearin|g earlie|
|00001580| 72 0a 69 6e 20 74 68 65 | 20 6c 69 73 74 20 74 61 |r.in the| list ta|
|00001590| 6b 65 73 20 70 72 65 63 | 65 64 65 6e 63 65 2e 1f |kes prec|edence..|
|000015a0| 0a 28 64 65 66 76 61 72 | 20 6d 69 6e 6f 72 2d 6d |.(defvar| minor-m|
|000015b0| 6f 64 65 2d 6d 61 70 2d | 61 6c 69 73 74 20 6e 69 |ode-map-|alist ni|
|000015c0| 6c 20 28 23 24 20 2e 20 | 35 32 35 39 29 29 0a 28 |l (#$ . |5259)).(|
|000015d0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 c2 5c 22 |byte-cod|e "...\"|
|000015e0| 88 c3 c1 c4 5c 22 88 c5 | c6 21 ab 86 c7 c1 c8 c9 |....\"..|.!......|
|000015f0| 23 88 c0 87 22 20 5b 6d | 61 6b 65 2d 66 61 63 65 |#..." [m|ake-face|
|00001600| 20 6d 6f 64 65 6c 69 6e | 65 2d 6d 6f 75 73 61 62 | modelin|e-mousab|
|00001610| 6c 65 2d 6d 69 6e 6f 72 | 2d 6d 6f 64 65 20 22 46 |le-minor|-mode "F|
|00001620| 61 63 65 20 66 6f 72 20 | 6d 6f 75 73 61 62 6c 65 |ace for |mousable|
|00001630| 20 6d 69 6e 6f 72 2d 6d | 6f 64 65 20 73 74 72 69 | minor-m|ode stri|
|00001640| 6e 67 73 20 69 6e 20 74 | 68 65 20 6d 6f 64 65 6c |ngs in t|he model|
|00001650| 69 6e 65 2e 22 20 73 65 | 74 2d 66 61 63 65 2d 70 |ine." se|t-face-p|
|00001660| 61 72 65 6e 74 20 6d 6f | 64 65 6c 69 6e 65 2d 6d |arent mo|deline-m|
|00001670| 6f 75 73 61 62 6c 65 20 | 66 65 61 74 75 72 65 70 |ousable |featurep|
|00001680| 20 78 20 73 65 74 2d 66 | 61 63 65 2d 66 6f 72 65 | x set-f|ace-fore|
|00001690| 67 72 6f 75 6e 64 20 28 | 28 28 63 6f 6c 6f 72 20 |ground (|((color |
|000016a0| 78 29 20 2e 20 22 67 72 | 65 65 6e 34 22 29 20 28 |x) . "gr|een4") (|
|000016b0| 28 63 6f 6c 6f 72 20 78 | 29 20 2e 20 22 66 6f 72 |(color x|) . "for|
|000016c0| 65 73 74 67 72 65 65 6e | 22 29 29 20 67 6c 6f 62 |estgreen|")) glob|
|000016d0| 61 6c 5d 20 34 29 0a 23 | 40 35 39 20 45 78 74 65 |al] 4).#|@59 Exte|
|000016e0| 6e 74 20 6d 61 6e 61 67 | 69 6e 67 20 74 68 65 20 |nt manag|ing the |
|000016f0| 6d 6f 75 73 61 62 6c 65 | 20 6d 69 6e 6f 72 20 6d |mousable| minor m|
|00001700| 6f 64 65 20 6d 6f 64 65 | 6c 69 6e 65 20 73 74 72 |ode mode|line str|
|00001710| 69 6e 67 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 6d |ings...(|defvar m|
|00001720| 6f 64 65 6c 69 6e 65 2d | 6d 6f 75 73 61 62 6c 65 |odeline-|mousable|
|00001730| 2d 6d 69 6e 6f 72 2d 6d | 6f 64 65 2d 65 78 74 65 |-minor-m|ode-exte|
|00001740| 6e 74 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |nt (byte|-code ".|
|00001750| c1 89 5c 22 87 22 20 5b | 6d 61 6b 65 2d 65 78 74 |..\"." [|make-ext|
|00001760| 65 6e 74 20 6e 69 6c 5d | 20 33 29 20 28 23 24 20 |ent nil]| 3) (#$ |
|00001770| 2e 20 35 38 35 32 29 29 | 0a 28 62 79 74 65 2d 63 |. 5852))|.(byte-c|
|00001780| 6f 64 65 20 22 c0 09 c2 | 5c 22 88 c3 0c 42 14 c0 |ode "...|\"...B..|
|00001790| 87 22 20 5b 73 65 74 2d | 65 78 74 65 6e 74 2d 66 |." [set-|extent-f|
|000017a0| 61 63 65 20 6d 6f 64 65 | 6c 69 6e 65 2d 6d 6f 75 |ace mode|line-mou|
|000017b0| 73 61 62 6c 65 2d 6d 69 | 6e 6f 72 2d 6d 6f 64 65 |sable-mi|nor-mode|
|000017c0| 2d 65 78 74 65 6e 74 20 | 6d 6f 64 65 6c 69 6e 65 |-extent |modeline|
|000017d0| 2d 6d 6f 75 73 61 62 6c | 65 2d 6d 69 6e 6f 72 2d |-mousabl|e-minor-|
|000017e0| 6d 6f 64 65 20 70 6c 61 | 63 65 20 63 75 72 72 65 |mode pla|ce curre|
|000017f0| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 5d 20 33 29 |nt-load-|list] 3)|
|00001800| 0a 23 40 31 35 38 32 20 | 41 64 64 20 61 20 6d 69 |.#@1582 |Add a mi|
|00001810| 6e 6f 72 20 6d 6f 64 65 | 20 74 6f 20 60 6d 69 6e |nor mode| to `min|
|00001820| 6f 72 2d 6d 6f 64 65 2d | 61 6c 69 73 74 27 20 61 |or-mode-|alist' a|
|00001830| 6e 64 20 60 6d 69 6e 6f | 72 2d 6d 6f 64 65 2d 6d |nd `mino|r-mode-m|
|00001840| 61 70 2d 61 6c 69 73 74 | 27 2e 0a 0a 54 4f 47 47 |ap-alist|'...TOGG|
|00001850| 4c 45 20 69 73 20 61 20 | 73 79 6d 62 6f 6c 20 77 |LE is a |symbol w|
|00001860| 68 6f 73 65 20 76 61 6c | 75 65 20 61 73 20 61 20 |hose val|ue as a |
|00001870| 76 61 72 69 61 62 6c 65 | 20 73 70 65 63 69 66 69 |variable| specifi|
|00001880| 65 73 20 77 68 65 74 68 | 65 72 20 74 68 65 0a 6d |es wheth|er the.m|
|00001890| 69 6e 6f 72 20 6d 6f 64 | 65 20 69 73 20 61 63 74 |inor mod|e is act|
|000018a0| 69 76 65 2e 0a 0a 20 49 | 66 20 54 4f 47 47 4c 45 |ive... I|f TOGGLE|
|000018b0| 20 68 61 73 20 74 68 65 | 20 60 3a 6d 65 6e 75 2d | has the| `:menu-|
|000018c0| 74 61 67 27 20 70 72 6f | 70 65 72 74 79 20 73 65 |tag' pro|perty se|
|000018d0| 74 20 74 6f 20 61 20 73 | 74 72 69 6e 67 2c 20 74 |t to a s|tring, t|
|000018e0| 68 61 74 20 73 74 72 69 | 6e 67 0a 20 77 69 6c 6c |hat stri|ng. will|
|000018f0| 20 62 65 20 75 73 65 64 | 20 61 73 20 74 68 65 20 | be used| as the |
|00001900| 6c 61 62 65 6c 20 6f 6e | 20 74 68 65 20 60 6d 6f |label on| the `mo|
|00001910| 64 65 6c 69 6e 65 2d 6d | 69 6e 6f 72 2d 6d 6f 64 |deline-m|inor-mod|
|00001920| 65 2d 6d 65 6e 75 27 20 | 69 6e 73 74 65 61 64 0a |e-menu' |instead.|
|00001930| 20 6f 66 20 54 4f 47 47 | 4c 45 27 73 20 73 79 6d | of TOGG|LE's sym|
|00001940| 62 6f 6c 2d 6e 61 6d 65 | 2e 0a 0a 20 54 4f 47 47 |bol-name|... TOGG|
|00001950| 4c 45 20 6d 61 79 20 68 | 61 76 65 20 61 6e 20 60 |LE may h|ave an `|
|00001960| 3a 69 6e 63 6c 75 64 65 | 64 27 20 70 72 6f 70 65 |:include|d' prope|
|00001970| 72 74 79 2c 20 77 68 69 | 63 68 20 64 65 74 65 72 |rty, whi|ch deter|
|00001980| 6d 69 6e 65 73 20 77 68 | 65 74 68 65 72 20 61 0a |mines wh|ether a.|
|00001990| 20 6d 65 6e 75 20 62 75 | 74 74 6f 6e 20 77 69 6c | menu bu|tton wil|
|000019a0| 6c 20 62 65 20 73 68 6f | 77 6e 20 66 6f 72 20 74 |l be sho|wn for t|
|000019b0| 68 69 73 20 6d 69 6e 6f | 72 20 6d 6f 64 65 20 69 |his mino|r mode i|
|000019c0| 6e 20 74 68 65 0a 20 60 | 6d 6f 64 65 6c 69 6e 65 |n the. `|modeline|
|000019d0| 2d 6d 69 6e 6f 72 2d 6d | 6f 64 65 2d 6d 65 6e 75 |-minor-m|ode-menu|
|000019e0| 27 2e 20 20 54 68 69 73 | 20 73 68 6f 75 6c 64 20 |'. This| should |
|000019f0| 62 65 20 65 69 74 68 65 | 72 20 61 20 62 6f 6f 6c |be eithe|r a bool|
|00001a00| 65 61 6e 0a 20 76 61 72 | 69 61 62 6c 65 2c 20 6f |ean. var|iable, o|
|00001a10| 72 20 61 6e 20 65 78 70 | 72 65 73 73 69 6f 6e 20 |r an exp|ression |
|00001a20| 65 76 61 6c 75 61 74 69 | 6e 67 20 74 6f 20 74 20 |evaluati|ng to t |
|00001a30| 6f 72 20 6e 69 6c 2e 20 | 20 28 53 65 65 20 74 68 |or nil. | (See th|
|00001a40| 65 0a 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |e. docum|entation|
|00001a50| 20 6f 66 20 60 63 75 72 | 72 65 6e 74 2d 6d 65 6e | of `cur|rent-men|
|00001a60| 75 62 61 72 27 20 66 6f | 72 20 6d 6f 72 65 20 69 |ubar' fo|r more i|
|00001a70| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 29 0a 0a 20 49 |nformati|on.).. I|
|00001a80| 74 20 6d 61 79 20 68 61 | 76 65 20 61 6e 20 60 3a |t may ha|ve an `:|
|00001a90| 61 63 74 69 76 65 27 20 | 70 72 6f 70 65 72 74 79 |active' |property|
|00001aa0| 20 61 6c 73 6f 2c 20 61 | 73 20 64 6f 63 75 6d 65 | also, a|s docume|
|00001ab0| 6e 74 65 64 20 69 6e 0a | 20 60 63 75 72 72 65 6e |nted in.| `curren|
|00001ac0| 74 2d 6d 65 6e 75 62 61 | 72 27 2e 0a 0a 4e 41 4d |t-menuba|r'...NAM|
|00001ad0| 45 20 69 73 20 74 68 65 | 20 6e 61 6d 65 20 74 68 |E is the| name th|
|00001ae0| 61 74 20 73 68 6f 75 6c | 64 20 61 70 70 65 61 72 |at shoul|d appear|
|00001af0| 20 69 6e 20 74 68 65 20 | 6d 6f 64 65 6c 69 6e 65 | in the |modeline|
|00001b00| 2e 20 20 49 74 20 73 68 | 6f 75 6c 64 20 65 69 74 |. It sh|ould eit|
|00001b10| 68 65 72 0a 62 65 20 61 | 20 73 74 72 69 6e 67 20 |her.be a| string |
|00001b20| 62 65 67 69 6e 6e 69 6e | 67 20 77 69 74 68 20 61 |beginnin|g with a|
|00001b30| 20 73 70 61 63 65 2c 20 | 6f 72 20 61 20 73 79 6d | space, |or a sym|
|00001b40| 62 6f 6c 20 77 69 74 68 | 20 61 20 73 69 6d 69 6c |bol with| a simil|
|00001b50| 61 72 20 73 74 72 69 6e | 67 0a 61 73 20 69 74 73 |ar strin|g.as its|
|00001b60| 20 76 61 6c 75 65 2e 0a | 0a 4b 45 59 4d 41 50 20 | value..|.KEYMAP |
|00001b70| 69 73 20 61 20 6b 65 79 | 6d 61 70 20 74 6f 20 6d |is a key|map to m|
|00001b80| 61 6b 65 20 61 63 74 69 | 76 65 20 77 68 65 6e 20 |ake acti|ve when |
|00001b90| 74 68 65 20 6d 69 6e 6f | 72 20 6d 6f 64 65 20 69 |the mino|r mode i|
|00001ba0| 73 20 61 63 74 69 76 65 | 2e 0a 0a 41 46 54 45 52 |s active|...AFTER|
|00001bb0| 20 69 73 20 74 68 65 20 | 74 6f 67 67 6c 69 6e 67 | is the |toggling|
|00001bc0| 20 73 79 6d 62 6f 6c 20 | 75 73 65 64 20 66 6f 72 | symbol |used for|
|00001bd0| 20 61 6e 6f 74 68 65 72 | 20 6d 69 6e 6f 72 20 6d | another| minor m|
|00001be0| 6f 64 65 2e 20 20 49 66 | 20 41 46 54 45 52 20 69 |ode. If| AFTER i|
|00001bf0| 73 0a 6e 6f 6e 2d 6e 69 | 6c 2c 20 74 68 65 6e 20 |s.non-ni|l, then |
|00001c00| 69 74 20 69 73 20 75 73 | 65 64 20 74 6f 20 70 6f |it is us|ed to po|
|00001c10| 73 69 74 69 6f 6e 20 74 | 68 65 20 6e 65 77 20 6d |sition t|he new m|
|00001c20| 6f 64 65 20 69 6e 20 74 | 68 65 20 6d 69 6e 6f 72 |ode in t|he minor|
|00001c30| 2d 6d 6f 64 65 0a 61 6c | 69 73 74 73 2e 0a 0a 54 |-mode.al|ists...T|
|00001c40| 4f 47 47 4c 45 2d 46 55 | 4e 20 73 70 65 63 69 66 |OGGLE-FU|N specif|
|00001c50| 69 65 73 20 61 6e 20 69 | 6e 74 65 72 61 63 74 69 |ies an i|nteracti|
|00001c60| 76 65 20 66 75 6e 63 74 | 69 6f 6e 20 74 68 61 74 |ve funct|ion that|
|00001c70| 20 69 73 20 63 61 6c 6c | 65 64 20 74 6f 20 74 6f | is call|ed to to|
|00001c80| 67 67 6c 65 0a 74 68 65 | 20 6d 6f 64 65 20 6f 6e |ggle.the| mode on|
|00001c90| 20 61 6e 64 20 6f 66 66 | 3b 20 74 68 69 73 20 61 | and off|; this a|
|00001ca0| 66 66 65 63 74 73 20 77 | 68 61 74 20 68 61 70 70 |ffects w|hat happ|
|00001cb0| 65 6e 73 20 77 68 65 6e | 20 62 75 74 74 6f 6e 32 |ens when| button2|
|00001cc0| 20 69 73 20 70 72 65 73 | 73 65 64 0a 6f 6e 20 74 | is pres|sed.on t|
|00001cd0| 68 65 20 6d 6f 64 65 2c | 20 61 6e 64 20 77 68 65 |he mode,| and whe|
|00001ce0| 6e 20 62 75 74 74 6f 6e | 33 20 69 73 20 70 72 65 |n button|3 is pre|
|00001cf0| 73 73 65 64 20 73 6f 6d | 65 77 68 65 72 65 20 69 |ssed som|ewhere i|
|00001d00| 6e 20 74 68 65 20 6c 69 | 73 74 20 6f 66 0a 6d 6f |n the li|st of.mo|
|00001d10| 64 65 73 2e 20 20 49 66 | 20 54 4f 47 47 4c 45 2d |des. If| TOGGLE-|
|00001d20| 46 55 4e 20 69 73 20 6e | 69 6c 20 61 6e 64 20 54 |FUN is n|il and T|
|00001d30| 4f 47 47 4c 45 20 6e 61 | 6d 65 73 20 61 6e 20 69 |OGGLE na|mes an i|
|00001d40| 6e 74 65 72 61 63 74 69 | 76 65 20 66 75 6e 63 74 |nteracti|ve funct|
|00001d50| 69 6f 6e 2c 0a 54 4f 47 | 47 4c 45 20 69 73 20 75 |ion,.TOG|GLE is u|
|00001d60| 73 65 64 20 61 73 20 74 | 68 65 20 74 6f 67 67 6c |sed as t|he toggl|
|00001d70| 65 20 66 75 6e 63 74 69 | 6f 6e 2e 0a 0a 45 78 61 |e functi|on...Exa|
|00001d80| 6d 70 6c 65 3a 20 28 70 | 75 74 20 27 76 69 65 77 |mple: (p|ut 'view|
|00001d90| 2d 6d 69 6e 6f 72 2d 6d | 6f 64 65 20 3a 6d 65 6e |-minor-m|ode :men|
|00001da0| 75 2d 74 61 67 20 22 56 | 69 65 77 20 28 6d 69 6e |u-tag "V|iew (min|
|00001db0| 6f 72 29 22 29 0a 20 20 | 20 20 20 20 20 20 20 28 |or)"). | (|
|00001dc0| 70 75 74 20 27 76 69 65 | 77 2d 6d 69 6e 6f 72 2d |put 'vie|w-minor-|
|00001dd0| 6d 6f 64 65 20 3a 69 6e | 63 6c 75 64 65 64 20 27 |mode :in|cluded '|
|00001de0| 28 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d |(buffer-|file-nam|
|00001df0| 65 29 29 0a 20 20 20 20 | 20 20 20 20 20 28 61 64 |e)). | (ad|
|00001e00| 64 2d 6d 69 6e 6f 72 2d | 6d 6f 64 65 20 27 76 69 |d-minor-|mode 'vi|
|00001e10| 65 77 2d 6d 69 6e 6f 72 | 2d 6d 6f 64 65 20 22 20 |ew-minor|-mode " |
|00001e20| 56 69 65 77 22 20 76 69 | 65 77 2d 6d 6f 64 65 2d |View" vi|ew-mode-|
|00001e30| 6d 61 70 29 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |map)..(d|efalias |
|00001e40| 27 61 64 64 2d 6d 69 6e | 6f 72 2d 6d 6f 64 65 20 |'add-min|or-mode |
|00001e50| 23 5b 28 74 6f 67 67 6c | 65 20 6e 61 6d 65 20 26 |#[(toggl|e name &|
|00001e60| 6f 70 74 69 6f 6e 61 6c | 20 6b 65 79 6d 61 70 20 |optional| keymap |
|00001e70| 61 66 74 65 72 20 74 6f | 67 67 6c 65 2d 66 75 6e |after to|ggle-fun|
|00001e80| 29 20 22 c0 89 c1 c0 1a | 1b 1c 1d 0e 06 ab 8e c7 |) ".....|........|
|00001e90| 0e 06 21 ac 92 c8 c9 0e | 06 5c 22 88 aa 8a c7 0e |..!.....|.\".....|
|00001ea0| 5c 6e 21 ab 84 0e 5c 6e | 16 06 0e 06 ab a0 0e 0b |\n!...\n|........|
|00001eb0| ab 9c cc cd ce cf 0e 5c | 6e 21 d0 51 21 21 12 d1 |.......\|n!.Q!!..|
|00001ec0| 5c 6e d2 d3 d4 21 23 88 | d5 0e 5c 6e d6 0e 06 23 |\n...!#.|..\n...#|
|00001ed0| 88 0e 0b ab d0 5c 6e ab | ae d7 c0 89 5c 22 1e 18 |.....\n.|....\"..|
|00001ee0| d9 0e 18 5c 6e 5c 22 88 | da 0e 18 db dc 0e 06 39 |...\n\".|.......9|
|00001ef0| ab 86 cf 0e 06 21 aa 84 | cf 0e 5c 6e 21 50 23 88 |.....!..|..\n!P#.|
|00001f00| 0e 18 29 0e 1d 0e 0b 42 | 42 aa 82 0e 0b 1e 1e 0e |..)....B|B.......|
|00001f10| 5c 6e 0e 1f b7 89 15 ab | 88 0d 0e 1e 43 a1 88 aa |\n......|....C...|
|00001f20| 89 0b 0e 5c 6e 0e 1e 44 | df 5c 22 88 29 0e 20 ad |...\n..D|.\".). .|
|00001f30| 97 0e 5c 6e 0e 21 b7 89 | 15 ab 86 0d 0e 20 a1 aa |..\n.!..|..... ..|
|00001f40| 88 0b 0e 5c 6e 0e 20 42 | e1 5c 22 2c 87 22 20 5b |...\n. B|.\",." [|
|00001f50| 6e 69 6c 20 23 5b 28 65 | 6c 74 20 73 79 6d 29 20 |nil #[(e|lt sym) |
|00001f60| 22 08 ac 89 09 5c 6e 09 | 4a 42 4c 88 aa a4 08 c3 |"....\n.|JBL.....|
|00001f70| 61 ac 96 08 09 4a b7 09 | 4a 73 89 14 ab 8b 5c 6e |a....J..|Js....\n|
|00001f80| 0c 41 42 12 0c 5c 6e a1 | 88 aa 89 09 c5 09 4a 5c |.AB..\n.|......J\|
|00001f90| 6e 43 5c 22 4c 88 09 4a | 87 22 20 5b 61 66 74 65 |nC\"L..J|." [afte|
|00001fa0| 72 20 73 79 6d 20 65 6c | 74 20 74 20 70 6c 61 63 |r sym el|t t plac|
|00001fb0| 65 20 61 70 70 65 6e 64 | 5d 20 34 5d 20 74 6f 67 |e append|] 4] tog|
|00001fc0| 67 6c 65 2d 6b 65 79 6d | 61 70 20 61 64 64 2d 65 |gle-keym|ap add-e|
|00001fd0| 6c 74 20 70 6c 61 63 65 | 20 65 6c 20 74 6f 67 67 |lt place| el togg|
|00001fe0| 6c 65 2d 66 75 6e 20 63 | 6f 6d 6d 61 6e 64 70 20 |le-fun c|ommandp |
|00001ff0| 65 72 72 6f 72 20 22 6e | 6f 74 20 61 6e 20 69 6e |error "n|ot an in|
|00002000| 74 65 72 61 63 74 69 76 | 65 20 66 75 6e 63 74 69 |teractiv|e functi|
|00002010| 6f 6e 3a 20 25 53 22 20 | 74 6f 67 67 6c 65 20 6e |on: %S" |toggle n|
|00002020| 61 6d 65 20 6d 61 6b 65 | 2d 73 70 61 72 73 65 2d |ame make|-sparse-|
|00002030| 6b 65 79 6d 61 70 20 69 | 6e 74 65 72 6e 20 22 6d |keymap i|ntern "m|
|00002040| 6f 64 65 6c 69 6e 65 2d | 6d 69 6e 6f 72 2d 22 20 |odeline-|minor-" |
|00002050| 73 79 6d 62 6f 6c 2d 6e | 61 6d 65 20 22 2d 6d 61 |symbol-n|ame "-ma|
|00002060| 70 22 20 64 65 66 69 6e | 65 2d 6b 65 79 20 62 75 |p" defin|e-key bu|
|00002070| 74 74 6f 6e 32 20 65 76 | 61 6c 20 28 6d 61 6b 65 |tton2 ev|al (make|
|00002080| 2d 6d 6f 64 65 6c 69 6e | 65 2d 63 6f 6d 6d 61 6e |-modelin|e-comman|
|00002090| 64 2d 77 72 61 70 70 65 | 72 20 74 6f 67 67 6c 65 |d-wrappe|r toggle|
|000020a0| 2d 66 75 6e 29 20 70 75 | 74 20 6d 6f 64 65 6c 69 |-fun) pu|t modeli|
|000020b0| 6e 65 2d 74 6f 67 67 6c | 65 2d 66 75 6e 63 74 69 |ne-toggl|e-functi|
|000020c0| 6f 6e 20 6d 61 6b 65 2d | 65 78 74 65 6e 74 20 65 |on make-|extent e|
|000020d0| 78 74 65 6e 74 20 73 65 | 74 2d 65 78 74 65 6e 74 |xtent se|t-extent|
|000020e0| 2d 6b 65 79 6d 61 70 20 | 73 65 74 2d 65 78 74 65 |-keymap |set-exte|
|000020f0| 6e 74 2d 70 72 6f 70 65 | 72 74 79 20 68 65 6c 70 |nt-prope|rty help|
|00002100| 2d 65 63 68 6f 20 22 62 | 75 74 74 6f 6e 32 20 74 |-echo "b|utton2 t|
|00002110| 75 72 6e 73 20 6f 66 66 | 20 22 20 6d 6f 64 65 6c |urns off| " model|
|00002120| 69 6e 65 2d 6d 6f 75 73 | 61 62 6c 65 2d 6d 69 6e |ine-mous|able-min|
|00002130| 6f 72 2d 6d 6f 64 65 2d | 65 78 74 65 6e 74 20 68 |or-mode-|extent h|
|00002140| 61 63 6b 65 64 2d 6e 61 | 6d 65 20 6d 69 6e 6f 72 |acked-na|me minor|
|00002150| 2d 6d 6f 64 65 2d 61 6c | 69 73 74 20 6b 65 79 6d |-mode-al|ist keym|
|00002160| 61 70 20 6d 69 6e 6f 72 | 2d 6d 6f 64 65 2d 6d 61 |ap minor|-mode-ma|
|00002170| 70 2d 61 6c 69 73 74 5d | 20 36 20 28 23 24 20 2e |p-alist]| 6 (#$ .|
|00002180| 20 36 31 35 32 29 5d 29 | 0a 28 62 79 74 65 2d 63 | 6152)])|.(byte-c|
|00002190| 6f 64 65 20 22 c0 c1 c2 | c3 23 88 c4 c1 c5 5c 22 |ode "...|.#....\"|
|000021a0| 88 c4 c6 89 5c 22 88 c0 | c7 c2 c8 23 88 c4 c7 c9 |....\"..|...#....|
|000021b0| ca 89 cb 25 87 22 20 5b | 70 75 74 20 61 62 62 72 |...%." [|put abbr|
|000021c0| 65 76 2d 6d 6f 64 65 20 | 3a 6d 65 6e 75 2d 74 61 |ev-mode |:menu-ta|
|000021d0| 67 20 22 41 62 62 72 65 | 76 69 61 74 69 6f 6e 20 |g "Abbre|viation |
|000021e0| 45 78 70 61 6e 73 69 6f | 6e 22 20 61 64 64 2d 6d |Expansio|n" add-m|
|000021f0| 69 6e 6f 72 2d 6d 6f 64 | 65 20 22 20 41 62 62 72 |inor-mod|e " Abbr|
|00002200| 65 76 22 20 6f 76 65 72 | 77 72 69 74 65 2d 6d 6f |ev" over|write-mo|
|00002210| 64 65 20 61 75 74 6f 2d | 66 69 6c 6c 2d 66 75 6e |de auto-|fill-fun|
|00002220| 63 74 69 6f 6e 20 22 41 | 75 74 6f 20 46 69 6c 6c |ction "A|uto Fill|
|00002230| 22 20 22 20 46 69 6c 6c | 22 20 6e 69 6c 20 61 75 |" " Fill|" nil au|
|00002240| 74 6f 2d 66 69 6c 6c 2d | 6d 6f 64 65 5d 20 36 29 |to-fill-|mode] 6)|
|00002250| 0a 23 40 38 38 20 54 68 | 65 20 6d 65 6e 75 20 74 |.#@88 Th|e menu t|
|00002260| 68 61 74 20 70 6f 70 73 | 20 75 70 20 77 68 65 6e |hat pops| up when|
|00002270| 20 79 6f 75 20 70 72 65 | 73 73 20 60 62 75 74 74 | you pre|ss `butt|
|00002280| 6f 6e 33 27 20 69 6e 73 | 69 64 65 20 74 68 65 0a |on3' ins|ide the.|
|00002290| 70 61 72 65 6e 74 68 65 | 73 65 73 20 6f 6e 20 74 |parenthe|ses on t|
|000022a0| 68 65 20 6d 6f 64 65 6c | 69 6e 65 2e 1f 0a 28 64 |he model|ine...(d|
|000022b0| 65 66 61 6c 69 61 73 20 | 27 6d 6f 64 65 6c 69 6e |efalias |'modelin|
|000022c0| 65 2d 6d 69 6e 6f 72 2d | 6d 6f 64 65 2d 6d 65 6e |e-minor-|mode-men|
|000022d0| 75 20 23 5b 28 65 76 65 | 6e 74 29 20 22 8a c0 09 |u #[(eve|nt) "...|
|000022e0| 21 71 88 c2 c3 c4 c5 c6 | c7 0e 08 5c 22 5c 22 42 |!q......|...\"\"B|
|000022f0| 09 5c 22 29 87 22 20 5b | 65 76 65 6e 74 2d 62 75 |.\")." [|event-bu|
|00002300| 66 66 65 72 20 65 76 65 | 6e 74 20 70 6f 70 75 70 |ffer eve|nt popup|
|00002310| 2d 6d 65 6e 75 2d 61 6e | 64 2d 65 78 65 63 75 74 |-menu-an|d-execut|
|00002320| 65 2d 69 6e 2d 77 69 6e | 64 6f 77 20 22 4d 69 6e |e-in-win|dow "Min|
|00002330| 6f 72 20 4d 6f 64 65 20 | 54 6f 67 67 6c 65 73 22 |or Mode |Toggles"|
|00002340| 20 61 70 70 6c 79 20 6e | 63 6f 6e 63 20 6d 61 70 | apply n|conc map|
|00002350| 63 61 72 20 23 5b 28 78 | 29 20 22 08 40 19 c2 09 |car #[(x|) ".@...|
|00002360| c3 c4 23 1d 09 c6 4e ae | 8b c7 09 21 ad 86 c8 09 |..#...N.|...!....|
|00002370| 21 ad 81 09 89 1e 09 ad | c0 ca 0d 3b ab 83 0d ae |!.......|...;....|
|00002380| 9e cb cc 89 89 0e 09 39 | ab 86 cd 0e 09 21 aa 83 |.......9|.....!..|
|00002390| cd 09 21 ce cf 23 d0 d1 | 23 d2 d3 23 21 89 15 0e |..!..#..|#..#!...|
|000023a0| 09 d4 c2 09 d4 d5 23 d6 | c2 09 d6 d5 23 d7 d8 d9 |......#.|....#...|
|000023b0| da 09 21 ad 81 09 26 5c | 6e 43 2b 87 22 20 5b 78 |..!...&\|nC+." [x|
|000023c0| 20 74 6f 67 67 6c 65 2d | 73 79 6d 20 67 65 74 20 | toggle-|sym get |
|000023d0| 3a 6d 65 6e 75 2d 74 61 | 67 20 6e 69 6c 20 6d 65 |:menu-ta|g nil me|
|000023e0| 6e 75 2d 74 61 67 20 6d | 6f 64 65 6c 69 6e 65 2d |nu-tag m|odeline-|
|000023f0| 74 6f 67 67 6c 65 2d 66 | 75 6e 63 74 69 6f 6e 20 |toggle-f|unction |
|00002400| 66 62 6f 75 6e 64 70 20 | 63 6f 6d 6d 61 6e 64 70 |fboundp |commandp|
|00002410| 20 74 6f 67 67 6c 65 2d | 66 75 6e 20 76 65 63 74 | toggle-|fun vect|
|00002420| 6f 72 20 63 61 70 69 74 | 61 6c 69 7a 65 20 72 65 |or capit|alize re|
|00002430| 70 6c 61 63 65 2d 69 6e | 2d 73 74 72 69 6e 67 20 |place-in|-string |
|00002440| 73 79 6d 62 6f 6c 2d 6e | 61 6d 65 20 22 2d 22 20 |symbol-n|ame "-" |
|00002450| 22 20 22 20 22 6d 69 6e | 6f 72 22 20 22 20 28 6d |" " "min|or" " (m|
|00002460| 69 6e 6f 72 29 22 20 22 | 20 6d 6f 64 65 22 20 22 |inor)" "| mode" "|
|00002470| 22 20 3a 61 63 74 69 76 | 65 20 74 20 3a 69 6e 63 |" :activ|e t :inc|
|00002480| 6c 75 64 65 64 20 3a 73 | 74 79 6c 65 20 74 6f 67 |luded :s|tyle tog|
|00002490| 67 6c 65 20 3a 73 65 6c | 65 63 74 65 64 20 62 6f |gle :sel|ected bo|
|000024a0| 75 6e 64 70 5d 20 31 33 | 5d 20 6d 69 6e 6f 72 2d |undp] 13|] minor-|
|000024b0| 6d 6f 64 65 2d 61 6c 69 | 73 74 5d 20 37 20 28 23 |mode-ali|st] 7 (#|
|000024c0| 24 20 2e 20 38 37 39 30 | 29 20 22 65 22 5d 29 0a |$ . 8790|) "e"]).|
|000024d0| 23 40 36 38 20 4b 65 79 | 6d 61 70 20 63 6f 6e 73 |#@68 Key|map cons|
|000024e0| 75 6c 74 65 64 20 66 6f | 72 20 6d 6f 75 73 65 2d |ulted fo|r mouse-|
|000024f0| 63 6c 69 63 6b 73 20 6f | 6e 20 74 68 65 20 6d 69 |clicks o|n the mi|
|00002500| 6e 6f 72 2d 6d 6f 64 65 | 20 6d 6f 64 65 6c 69 6e |nor-mode| modelin|
|00002510| 65 20 6c 69 73 74 2e 1f | 0a 28 64 65 66 76 61 72 |e list..|.(defvar|
|00002520| 20 6d 6f 64 65 6c 69 6e | 65 2d 6d 69 6e 6f 72 2d | modelin|e-minor-|
|00002530| 6d 6f 64 65 2d 6d 61 70 | 20 28 6d 61 6b 65 2d 73 |mode-map| (make-s|
|00002540| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 20 27 6d 6f |parse-ke|ymap 'mo|
|00002550| 64 65 6c 69 6e 65 2d 6d | 69 6e 6f 72 2d 6d 6f 64 |deline-m|inor-mod|
|00002560| 65 2d 6d 61 70 29 20 28 | 23 24 20 2e 20 39 34 32 |e-map) (|#$ . 942|
|00002570| 39 29 29 0a 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |9)).(def|ine-key |
|00002580| 6d 6f 64 65 6c 69 6e 65 | 2d 6d 69 6e 6f 72 2d 6d |modeline|-minor-m|
|00002590| 6f 64 65 2d 6d 61 70 20 | 27 62 75 74 74 6f 6e 33 |ode-map |'button3|
|000025a0| 20 27 6d 6f 64 65 6c 69 | 6e 65 2d 6d 69 6e 6f 72 | 'modeli|ne-minor|
|000025b0| 2d 6d 6f 64 65 2d 6d 65 | 6e 75 29 0a 23 40 35 30 |-mode-me|nu).#@50|
|000025c0| 20 45 78 74 65 6e 74 20 | 63 6f 76 65 72 69 6e 67 | Extent |covering|
|000025d0| 20 74 68 65 20 6d 69 6e | 6f 72 20 6d 6f 64 65 20 | the min|or mode |
|000025e0| 6d 6f 64 65 6c 69 6e 65 | 20 73 74 72 69 6e 67 73 |modeline| strings|
|000025f0| 2e 1f 0a 28 64 65 66 76 | 61 72 20 6d 6f 64 65 6c |...(defv|ar model|
|00002600| 69 6e 65 2d 6d 69 6e 6f | 72 2d 6d 6f 64 65 2d 65 |ine-mino|r-mode-e|
|00002610| 78 74 65 6e 74 20 28 62 | 79 74 65 2d 63 6f 64 65 |xtent (b|yte-code|
|00002620| 20 22 c0 c1 89 5c 22 87 | 22 20 5b 6d 61 6b 65 2d | "...\".|" [make-|
|00002630| 65 78 74 65 6e 74 20 6e | 69 6c 5d 20 33 29 20 28 |extent n|il] 3) (|
|00002640| 23 24 20 2e 20 39 36 36 | 35 29 29 0a 28 62 79 74 |#$ . 966|5)).(byt|
|00002650| 65 2d 63 6f 64 65 20 22 | c0 09 c2 5c 22 88 c3 09 |e-code "|...\"...|
|00002660| 0c 5c 22 87 22 20 5b 73 | 65 74 2d 65 78 74 65 6e |.\"." [s|et-exten|
|00002670| 74 2d 66 61 63 65 20 6d | 6f 64 65 6c 69 6e 65 2d |t-face m|odeline-|
|00002680| 6d 69 6e 6f 72 2d 6d 6f | 64 65 2d 65 78 74 65 6e |minor-mo|de-exten|
|00002690| 74 20 6d 6f 64 65 6c 69 | 6e 65 2d 6d 6f 75 73 61 |t modeli|ne-mousa|
|000026a0| 62 6c 65 20 73 65 74 2d | 65 78 74 65 6e 74 2d 6b |ble set-|extent-k|
|000026b0| 65 79 6d 61 70 20 6d 6f | 64 65 6c 69 6e 65 2d 6d |eymap mo|deline-m|
|000026c0| 69 6e 6f 72 2d 6d 6f 64 | 65 2d 6d 61 70 5d 20 33 |inor-mod|e-map] 3|
|000026d0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6d 6f 64 |).(defal|ias 'mod|
|000026e0| 65 6c 69 6e 65 2d 62 75 | 66 66 65 72 73 2d 6d 65 |eline-bu|ffers-me|
|000026f0| 6e 75 20 23 5b 28 65 76 | 65 6e 74 29 20 22 c0 c1 |nu #[(ev|ent) "..|
|00002700| 5c 6e 5c 22 87 22 20 5b | 70 6f 70 75 70 2d 6d 65 |\n\"." [|popup-me|
|00002710| 6e 75 2d 61 6e 64 2d 65 | 78 65 63 75 74 65 2d 69 |nu-and-e|xecute-i|
|00002720| 6e 2d 77 69 6e 64 6f 77 | 20 28 22 42 75 66 66 65 |n-window| ("Buffe|
|00002730| 72 73 20 50 6f 70 75 70 | 20 4d 65 6e 75 22 20 3a |rs Popup| Menu" :|
|00002740| 66 69 6c 74 65 72 20 62 | 75 66 66 65 72 73 2d 6d |filter b|uffers-m|
|00002750| 65 6e 75 2d 66 69 6c 74 | 65 72 20 5b 22 4c 69 73 |enu-filt|er ["Lis|
|00002760| 74 20 41 6c 6c 20 42 75 | 66 66 65 72 73 22 20 6c |t All Bu|ffers" l|
|00002770| 69 73 74 2d 62 75 66 66 | 65 72 73 20 74 5d 20 22 |ist-buff|ers t] "|
|00002780| 2d 2d 22 29 20 65 76 65 | 6e 74 5d 20 33 20 6e 69 |--") eve|nt] 3 ni|
|00002790| 6c 20 22 65 22 5d 29 0a | 23 40 37 37 20 4b 65 79 |l "e"]).|#@77 Key|
|000027a0| 6d 61 70 20 63 6f 6e 73 | 75 6c 74 65 64 20 66 6f |map cons|ulted fo|
|000027b0| 72 20 6d 6f 75 73 65 2d | 63 6c 69 63 6b 73 20 6f |r mouse-|clicks o|
|000027c0| 6e 20 74 68 65 20 6c 65 | 66 74 20 68 61 6c 66 20 |n the le|ft half |
|000027d0| 6f 66 20 74 68 65 20 62 | 75 66 66 65 72 2d 69 64 |of the b|uffer-id|
|000027e0| 20 73 74 72 69 6e 67 2e | 1f 0a 28 64 65 66 76 61 | string.|..(defva|
|000027f0| 72 20 6d 6f 64 65 6c 69 | 6e 65 2d 62 75 66 66 65 |r modeli|ne-buffe|
|00002800| 72 2d 69 64 2d 6c 65 66 | 74 2d 6d 61 70 20 28 6d |r-id-lef|t-map (m|
|00002810| 61 6b 65 2d 73 70 61 72 | 73 65 2d 6b 65 79 6d 61 |ake-spar|se-keyma|
|00002820| 70 20 27 6d 6f 64 65 6c | 69 6e 65 2d 62 75 66 66 |p 'model|ine-buff|
|00002830| 65 72 2d 69 64 2d 6c 65 | 66 74 2d 6d 61 70 29 20 |er-id-le|ft-map) |
|00002840| 28 23 24 20 2e 20 31 30 | 31 34 31 29 29 0a 23 40 |(#$ . 10|141)).#@|
|00002850| 37 38 20 4b 65 79 6d 61 | 70 20 63 6f 6e 73 75 6c |78 Keyma|p consul|
|00002860| 74 65 64 20 66 6f 72 20 | 6d 6f 75 73 65 2d 63 6c |ted for |mouse-cl|
|00002870| 69 63 6b 73 20 6f 6e 20 | 74 68 65 20 72 69 67 68 |icks on |the righ|
|00002880| 74 20 68 61 6c 66 20 6f | 66 20 74 68 65 20 62 75 |t half o|f the bu|
|00002890| 66 66 65 72 2d 69 64 20 | 73 74 72 69 6e 67 2e 1f |ffer-id |string..|
|000028a0| 0a 28 64 65 66 76 61 72 | 20 6d 6f 64 65 6c 69 6e |.(defvar| modelin|
|000028b0| 65 2d 62 75 66 66 65 72 | 2d 69 64 2d 72 69 67 68 |e-buffer|-id-righ|
|000028c0| 74 2d 6d 61 70 20 28 6d | 61 6b 65 2d 73 70 61 72 |t-map (m|ake-spar|
|000028d0| 73 65 2d 6b 65 79 6d 61 | 70 20 27 6d 6f 64 65 6c |se-keyma|p 'model|
|000028e0| 69 6e 65 2d 62 75 66 66 | 65 72 2d 69 64 2d 72 69 |ine-buff|er-id-ri|
|000028f0| 67 68 74 2d 6d 61 70 29 | 20 28 23 24 20 2e 20 31 |ght-map)| (#$ . 1|
|00002900| 30 33 32 33 29 29 0a 28 | 62 79 74 65 2d 63 6f 64 |0323)).(|byte-cod|
|00002910| 65 20 22 c0 09 c2 c3 23 | 88 c0 0c c2 c5 23 88 c0 |e "....#|.....#..|
|00002920| 09 c6 c7 23 88 c0 0c c6 | c7 23 88 c8 c9 ca 5c 22 |...#....|.#....\"|
|00002930| 88 cb c9 cc 5c 22 88 cd | ce 21 ab 87 cf c9 d0 d1 |....\"..|.!......|
|00002940| d2 24 88 cd ce 21 ab 8e | d3 c9 d4 d5 d6 24 88 d3 |.$...!..|.....$..|
|00002950| c9 d7 d5 d8 24 88 cd d9 | 21 ab 87 d3 c9 da d5 d9 |....$...|!.......|
|00002960| 24 88 d5 87 22 20 5b 64 | 65 66 69 6e 65 2d 6b 65 |$..." [d|efine-ke|
|00002970| 79 20 6d 6f 64 65 6c 69 | 6e 65 2d 62 75 66 66 65 |y modeli|ne-buffe|
|00002980| 72 2d 69 64 2d 6c 65 66 | 74 2d 6d 61 70 20 62 75 |r-id-lef|t-map bu|
|00002990| 74 74 6f 6e 32 20 6d 6f | 75 73 65 2d 75 6e 62 75 |tton2 mo|use-unbu|
|000029a0| 72 79 2d 62 75 66 66 65 | 72 20 6d 6f 64 65 6c 69 |ry-buffe|r modeli|
|000029b0| 6e 65 2d 62 75 66 66 65 | 72 2d 69 64 2d 72 69 67 |ne-buffe|r-id-rig|
|000029c0| 68 74 2d 6d 61 70 20 6d | 6f 75 73 65 2d 62 75 72 |ht-map m|ouse-bur|
|000029d0| 79 2d 62 75 66 66 65 72 | 20 62 75 74 74 6f 6e 33 |y-buffer| button3|
|000029e0| 20 6d 6f 64 65 6c 69 6e | 65 2d 62 75 66 66 65 72 | modelin|e-buffer|
|000029f0| 73 2d 6d 65 6e 75 20 6d | 61 6b 65 2d 66 61 63 65 |s-menu m|ake-face|
|00002a00| 20 6d 6f 64 65 6c 69 6e | 65 2d 62 75 66 66 65 72 | modelin|e-buffer|
|00002a10| 2d 69 64 20 22 46 61 63 | 65 20 66 6f 72 20 74 68 |-id "Fac|e for th|
|00002a20| 65 20 62 75 66 66 65 72 | 20 49 44 20 73 74 72 69 |e buffer| ID stri|
|00002a30| 6e 67 20 69 6e 20 74 68 | 65 20 6d 6f 64 65 6c 69 |ng in th|e modeli|
|00002a40| 6e 65 2e 22 20 73 65 74 | 2d 66 61 63 65 2d 70 61 |ne." set|-face-pa|
|00002a50| 72 65 6e 74 20 6d 6f 64 | 65 6c 69 6e 65 20 66 65 |rent mod|eline fe|
|00002a60| 61 74 75 72 65 70 20 78 | 20 73 65 74 2d 66 61 63 |aturep x| set-fac|
|00002a70| 65 2d 66 6f 72 65 67 72 | 6f 75 6e 64 20 22 62 6c |e-foregr|ound "bl|
|00002a80| 75 65 34 22 20 67 6c 6f | 62 61 6c 20 28 63 6f 6c |ue4" glo|bal (col|
|00002a90| 6f 72 20 78 29 20 73 65 | 74 2d 66 61 63 65 2d 66 |or x) se|t-face-f|
|00002aa0| 6f 6e 74 20 5b 62 6f 6c | 64 2d 69 74 61 6c 69 63 |ont [bol|d-italic|
|00002ab0| 5d 20 6e 69 6c 20 28 6d | 6f 6e 6f 20 78 29 20 5b |] nil (m|ono x) [|
|00002ac0| 62 6f 6c 64 2d 69 74 61 | 6c 69 63 5d 20 28 67 72 |bold-ita|lic] (gr|
|00002ad0| 61 79 73 63 61 6c 65 20 | 78 29 20 74 74 79 20 5b |ayscale |x) tty [|
|00002ae0| 62 6f 6c 64 2d 69 74 61 | 6c 69 63 5d 5d 20 35 29 |bold-ita|lic]] 5)|
|00002af0| 0a 23 40 35 32 20 45 78 | 74 65 6e 74 20 63 6f 76 |.#@52 Ex|tent cov|
|00002b00| 65 72 69 6e 67 20 74 68 | 65 20 77 68 6f 6c 65 20 |ering th|e whole |
|00002b10| 6f 66 20 74 68 65 20 62 | 75 66 66 65 72 2d 69 64 |of the b|uffer-id|
|00002b20| 20 73 74 72 69 6e 67 2e | 1f 0a 28 64 65 66 76 61 | string.|..(defva|
|00002b30| 72 20 6d 6f 64 65 6c 69 | 6e 65 2d 62 75 66 66 65 |r modeli|ne-buffe|
|00002b40| 72 2d 69 64 2d 65 78 74 | 65 6e 74 20 28 62 79 74 |r-id-ext|ent (byt|
|00002b50| 65 2d 63 6f 64 65 20 22 | c0 c1 89 5c 22 87 22 20 |e-code "|...\"." |
|00002b60| 5b 6d 61 6b 65 2d 65 78 | 74 65 6e 74 20 6e 69 6c |[make-ex|tent nil|
|00002b70| 5d 20 33 29 20 28 23 24 | 20 2e 20 31 30 39 39 38 |] 3) (#$| . 10998|
|00002b80| 29 29 0a 28 73 65 74 2d | 65 78 74 65 6e 74 2d 66 |)).(set-|extent-f|
|00002b90| 61 63 65 20 6d 6f 64 65 | 6c 69 6e 65 2d 62 75 66 |ace mode|line-buf|
|00002ba0| 66 65 72 2d 69 64 2d 65 | 78 74 65 6e 74 20 27 6d |fer-id-e|xtent 'm|
|00002bb0| 6f 64 65 6c 69 6e 65 2d | 62 75 66 66 65 72 2d 69 |odeline-|buffer-i|
|00002bc0| 64 29 0a 23 40 35 36 20 | 45 78 74 65 6e 74 20 63 |d).#@56 |Extent c|
|00002bd0| 6f 76 65 72 69 6e 67 20 | 74 68 65 20 6c 65 66 74 |overing |the left|
|00002be0| 20 68 61 6c 66 20 6f 66 | 20 74 68 65 20 62 75 66 | half of| the buf|
|00002bf0| 66 65 72 2d 69 64 20 73 | 74 72 69 6e 67 2e 1f 0a |fer-id s|tring...|
|00002c00| 28 64 65 66 76 61 72 20 | 6d 6f 64 65 6c 69 6e 65 |(defvar |modeline|
|00002c10| 2d 62 75 66 66 65 72 2d | 69 64 2d 6c 65 66 74 2d |-buffer-|id-left-|
|00002c20| 65 78 74 65 6e 74 20 28 | 62 79 74 65 2d 63 6f 64 |extent (|byte-cod|
|00002c30| 65 20 22 c0 c1 89 5c 22 | 87 22 20 5b 6d 61 6b 65 |e "...\"|." [make|
|00002c40| 2d 65 78 74 65 6e 74 20 | 6e 69 6c 5d 20 33 29 20 |-extent |nil] 3) |
|00002c50| 28 23 24 20 2e 20 31 31 | 32 30 38 29 29 0a 28 62 |(#$ . 11|208)).(b|
|00002c60| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 5c 6e 5c 22 |yte-code| "..\n\"|
|00002c70| 88 c3 09 c4 c5 23 87 22 | 20 5b 73 65 74 2d 65 78 |.....#."| [set-ex|
|00002c80| 74 65 6e 74 2d 6b 65 79 | 6d 61 70 20 6d 6f 64 65 |tent-key|map mode|
|00002c90| 6c 69 6e 65 2d 62 75 66 | 66 65 72 2d 69 64 2d 6c |line-buf|fer-id-l|
|00002ca0| 65 66 74 2d 65 78 74 65 | 6e 74 20 6d 6f 64 65 6c |eft-exte|nt model|
|00002cb0| 69 6e 65 2d 62 75 66 66 | 65 72 2d 69 64 2d 6c 65 |ine-buff|er-id-le|
|00002cc0| 66 74 2d 6d 61 70 20 73 | 65 74 2d 65 78 74 65 6e |ft-map s|et-exten|
|00002cd0| 74 2d 70 72 6f 70 65 72 | 74 79 20 68 65 6c 70 2d |t-proper|ty help-|
|00002ce0| 65 63 68 6f 20 22 62 75 | 74 74 6f 6e 32 20 63 79 |echo "bu|tton2 cy|
|00002cf0| 63 6c 65 73 20 74 6f 20 | 74 68 65 20 70 72 65 76 |cles to |the prev|
|00002d00| 69 6f 75 73 20 62 75 66 | 66 65 72 22 5d 20 34 29 |ious buf|fer"] 4)|
|00002d10| 0a 23 40 35 37 20 45 78 | 74 65 6e 74 20 63 6f 76 |.#@57 Ex|tent cov|
|00002d20| 65 72 69 6e 67 20 74 68 | 65 20 72 69 67 68 74 20 |ering th|e right |
|00002d30| 68 61 6c 66 20 6f 66 20 | 74 68 65 20 62 75 66 66 |half of |the buff|
|00002d40| 65 72 2d 69 64 20 73 74 | 72 69 6e 67 2e 1f 0a 28 |er-id st|ring...(|
|00002d50| 64 65 66 76 61 72 20 6d | 6f 64 65 6c 69 6e 65 2d |defvar m|odeline-|
|00002d60| 62 75 66 66 65 72 2d 69 | 64 2d 72 69 67 68 74 2d |buffer-i|d-right-|
|00002d70| 65 78 74 65 6e 74 20 28 | 62 79 74 65 2d 63 6f 64 |extent (|byte-cod|
|00002d80| 65 20 22 c0 c1 89 5c 22 | 87 22 20 5b 6d 61 6b 65 |e "...\"|." [make|
|00002d90| 2d 65 78 74 65 6e 74 20 | 6e 69 6c 5d 20 33 29 20 |-extent |nil] 3) |
|00002da0| 28 23 24 20 2e 20 31 31 | 35 34 32 29 29 0a 28 62 |(#$ . 11|542)).(b|
|00002db0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 09 5c 6e 5c 22 |yte-code| "..\n\"|
|00002dc0| 88 c3 09 c4 c5 23 87 22 | 20 5b 73 65 74 2d 65 78 |.....#."| [set-ex|
|00002dd0| 74 65 6e 74 2d 6b 65 79 | 6d 61 70 20 6d 6f 64 65 |tent-key|map mode|
|00002de0| 6c 69 6e 65 2d 62 75 66 | 66 65 72 2d 69 64 2d 72 |line-buf|fer-id-r|
|00002df0| 69 67 68 74 2d 65 78 74 | 65 6e 74 20 6d 6f 64 65 |ight-ext|ent mode|
|00002e00| 6c 69 6e 65 2d 62 75 66 | 66 65 72 2d 69 64 2d 72 |line-buf|fer-id-r|
|00002e10| 69 67 68 74 2d 6d 61 70 | 20 73 65 74 2d 65 78 74 |ight-map| set-ext|
|00002e20| 65 6e 74 2d 70 72 6f 70 | 65 72 74 79 20 68 65 6c |ent-prop|erty hel|
|00002e30| 70 2d 65 63 68 6f 20 22 | 62 75 74 74 6f 6e 32 20 |p-echo "|button2 |
|00002e40| 63 79 63 6c 65 73 20 74 | 6f 20 74 68 65 20 6e 65 |cycles t|o the ne|
|00002e50| 78 74 20 62 75 66 66 65 | 72 22 5d 20 34 29 0a 23 |xt buffe|r"] 4).#|
|00002e60| 40 32 30 31 20 4d 6f 64 | 65 6c 69 6e 65 20 63 6f |@201 Mod|eline co|
|00002e70| 6e 74 72 6f 6c 20 66 6f | 72 20 69 64 65 6e 74 69 |ntrol fo|r identi|
|00002e80| 66 79 69 6e 67 20 74 68 | 65 20 62 75 66 66 65 72 |fying th|e buffer|
|00002e90| 20 62 65 69 6e 67 20 64 | 69 73 70 6c 61 79 65 64 | being d|isplayed|
|00002ea0| 2e 0a 49 74 73 20 64 65 | 66 61 75 6c 74 20 76 61 |..Its de|fault va|
|00002eb0| 6c 75 65 20 69 73 20 22 | 58 45 6d 61 63 73 3a 20 |lue is "|XEmacs: |
|00002ec0| 25 31 37 62 22 20 28 4e | 4f 54 21 29 2e 20 20 4d |%17b" (N|OT!). M|
|00002ed0| 61 6a 6f 72 20 6d 6f 64 | 65 73 20 74 68 61 74 20 |ajor mod|es that |
|00002ee0| 65 64 69 74 20 74 68 69 | 6e 67 73 0a 6f 74 68 65 |edit thi|ngs.othe|
|00002ef0| 72 20 74 68 61 6e 20 6f | 72 64 69 6e 61 72 79 20 |r than o|rdinary |
|00002f00| 66 69 6c 65 73 20 6d 61 | 79 20 63 68 61 6e 67 65 |files ma|y change|
|00002f10| 20 74 68 69 73 20 28 65 | 2e 67 2e 20 49 6e 66 6f | this (e|.g. Info|
|00002f20| 2c 20 44 69 72 65 64 2c | 2e 2e 2e 29 1f 0a 28 64 |, Dired,|...)..(d|
|00002f30| 65 66 63 6f 6e 73 74 20 | 6d 6f 64 65 6c 69 6e 65 |efconst |modeline|
|00002f40| 2d 62 75 66 66 65 72 2d | 69 64 65 6e 74 69 66 69 |-buffer-|identifi|
|00002f50| 63 61 74 69 6f 6e 20 28 | 62 79 74 65 2d 63 6f 64 |cation (|byte-cod|
|00002f60| 65 20 22 08 c1 c2 21 42 | 0b c1 c4 21 42 44 87 22 |e "...!B|...!BD."|
|00002f70| 20 5b 6d 6f 64 65 6c 69 | 6e 65 2d 62 75 66 66 65 | [modeli|ne-buffe|
|00002f80| 72 2d 69 64 2d 6c 65 66 | 74 2d 65 78 74 65 6e 74 |r-id-lef|t-extent|
|00002f90| 20 70 75 72 65 63 6f 70 | 79 20 22 58 45 6d 61 63 | purecop|y "XEmac|
|00002fa0| 73 25 4e 3a 22 20 6d 6f | 64 65 6c 69 6e 65 2d 62 |s%N:" mo|deline-b|
|00002fb0| 75 66 66 65 72 2d 69 64 | 2d 72 69 67 68 74 2d 65 |uffer-id|-right-e|
|00002fc0| 78 74 65 6e 74 20 22 20 | 25 31 37 62 22 5d 20 34 |xtent " |%17b"] 4|
|00002fd0| 29 20 28 23 24 20 2e 20 | 31 31 38 37 37 29 29 0a |) (#$ . |11877)).|
|00002fe0| 28 6d 61 6b 65 2d 76 61 | 72 69 61 62 6c 65 2d 62 |(make-va|riable-b|
|00002ff0| 75 66 66 65 72 2d 6c 6f | 63 61 6c 20 27 6d 6f 64 |uffer-lo|cal 'mod|
|00003000| 65 6c 69 6e 65 2d 62 75 | 66 66 65 72 2d 69 64 65 |eline-bu|ffer-ide|
|00003010| 6e 74 69 66 69 63 61 74 | 69 6f 6e 29 0a 23 40 31 |ntificat|ion).#@1|
|00003020| 32 33 20 4d 6f 64 65 6c | 69 6e 65 20 63 6f 6e 74 |23 Model|ine cont|
|00003030| 72 6f 6c 20 66 6f 72 20 | 64 69 73 70 6c 61 79 69 |rol for |displayi|
|00003040| 6e 67 20 69 6e 66 6f 20 | 6f 6e 20 70 72 6f 63 65 |ng info |on proce|
|00003050| 73 73 20 73 74 61 74 75 | 73 2e 0a 4e 6f 72 6d 61 |ss statu|s..Norma|
|00003060| 6c 6c 79 20 6e 69 6c 20 | 69 6e 20 6d 6f 73 74 20 |lly nil |in most |
|00003070| 6d 6f 64 65 73 2c 20 73 | 69 6e 63 65 20 74 68 65 |modes, s|ince the|
|00003080| 72 65 20 69 73 20 6e 6f | 20 70 72 6f 63 65 73 73 |re is no| process|
|00003090| 20 74 6f 20 64 69 73 70 | 6c 61 79 2e 1f 0a 28 64 | to disp|lay...(d|
|000030a0| 65 66 63 6f 6e 73 74 20 | 6d 6f 64 65 6c 69 6e 65 |efconst |modeline|
|000030b0| 2d 70 72 6f 63 65 73 73 | 20 6e 69 6c 20 28 23 24 |-process| nil (#$|
|000030c0| 20 2e 20 31 32 33 32 33 | 29 29 0a 28 6d 61 6b 65 | . 12323|)).(make|
|000030d0| 2d 76 61 72 69 61 62 6c | 65 2d 62 75 66 66 65 72 |-variabl|e-buffer|
|000030e0| 2d 6c 6f 63 61 6c 20 27 | 6d 6f 64 65 6c 69 6e 65 |-local '|modeline|
|000030f0| 2d 70 72 6f 63 65 73 73 | 29 0a 23 40 36 38 20 4b |-process|).#@68 K|
|00003100| 65 79 6d 61 70 20 63 6f | 6e 73 75 6c 74 65 64 20 |eymap co|nsulted |
|00003110| 66 6f 72 20 6d 6f 75 73 | 65 2d 63 6c 69 63 6b 73 |for mous|e-clicks|
|00003120| 20 6f 6e 20 74 68 65 20 | 6d 6f 64 65 6c 69 6e 65 | on the |modeline|
|00003130| 2d 6d 6f 64 69 66 69 65 | 64 20 73 74 72 69 6e 67 |-modifie|d string|
|00003140| 2e 1f 0a 28 64 65 66 76 | 61 72 20 6d 6f 64 65 6c |...(defv|ar model|
|00003150| 69 6e 65 2d 6d 6f 64 69 | 66 69 65 64 2d 6d 61 70 |ine-modi|fied-map|
|00003160| 20 28 6d 61 6b 65 2d 73 | 70 61 72 73 65 2d 6b 65 | (make-s|parse-ke|
|00003170| 79 6d 61 70 20 27 6d 6f | 64 65 6c 69 6e 65 2d 6d |ymap 'mo|deline-m|
|00003180| 6f 64 69 66 69 65 64 2d | 6d 61 70 29 20 28 23 24 |odified-|map) (#$|
|00003190| 20 2e 20 31 32 35 34 33 | 29 29 0a 28 64 65 66 69 | . 12543|)).(defi|
|000031a0| 6e 65 2d 6b 65 79 20 6d | 6f 64 65 6c 69 6e 65 2d |ne-key m|odeline-|
|000031b0| 6d 6f 64 69 66 69 65 64 | 2d 6d 61 70 20 27 62 75 |modified|-map 'bu|
|000031c0| 74 74 6f 6e 32 20 23 5b | 28 65 76 65 6e 74 29 20 |tton2 #[|(event) |
|000031d0| 22 c0 20 19 c2 8e c3 c4 | 0d 21 21 88 c6 c7 21 2a |". .....|.!!...!*|
|000031e0| 87 22 20 5b 73 65 6c 65 | 63 74 65 64 2d 77 69 6e |." [sele|cted-win|
|000031f0| 64 6f 77 20 73 61 76 65 | 2d 73 65 6c 65 63 74 65 |dow save|-selecte|
|00003200| 64 2d 77 69 6e 64 6f 77 | 2d 77 69 6e 64 6f 77 20 |d-window|-window |
|00003210| 28 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 09 21 |((byte-c|ode "..!|
|00003220| ab 84 c2 09 21 88 c0 87 | 22 20 5b 77 69 6e 64 6f |....!...|" [windo|
|00003230| 77 2d 6c 69 76 65 2d 70 | 20 73 61 76 65 2d 73 65 |w-live-p| save-se|
|00003240| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 2d 77 69 |lected-w|indow-wi|
|00003250| 6e 64 6f 77 20 73 65 6c | 65 63 74 2d 77 69 6e 64 |ndow sel|ect-wind|
|00003260| 6f 77 5d 20 32 29 29 20 | 73 65 6c 65 63 74 2d 77 |ow] 2)) |select-w|
|00003270| 69 6e 64 6f 77 20 65 76 | 65 6e 74 2d 77 69 6e 64 |indow ev|ent-wind|
|00003280| 6f 77 20 65 76 65 6e 74 | 20 63 61 6c 6c 2d 69 6e |ow event| call-in|
|00003290| 74 65 72 61 63 74 69 76 | 65 6c 79 20 6d 6f 64 65 |teractiv|ely mode|
|000032a0| 6c 69 6e 65 2d 74 6f 67 | 67 6c 65 2d 72 65 61 64 |line-tog|gle-read|
|000032b0| 2d 6f 6e 6c 79 5d 20 33 | 20 6e 69 6c 20 22 65 22 |-only] 3| nil "e"|
|000032c0| 5d 29 0a 23 40 34 37 20 | 45 78 74 65 6e 74 20 63 |]).#@47 |Extent c|
|000032d0| 6f 76 65 72 69 6e 67 20 | 74 68 65 20 6d 6f 64 65 |overing |the mode|
|000032e0| 6c 69 6e 65 2d 6d 6f 64 | 69 66 69 65 64 20 73 74 |line-mod|ified st|
|000032f0| 72 69 6e 67 2e 1f 0a 28 | 64 65 66 76 61 72 20 6d |ring...(|defvar m|
|00003300| 6f 64 65 6c 69 6e 65 2d | 6d 6f 64 69 66 69 65 64 |odeline-|modified|
|00003310| 2d 65 78 74 65 6e 74 20 | 28 62 79 74 65 2d 63 6f |-extent |(byte-co|
|00003320| 64 65 20 22 c0 c1 89 5c | 22 87 22 20 5b 6d 61 6b |de "...\|"." [mak|
|00003330| 65 2d 65 78 74 65 6e 74 | 20 6e 69 6c 5d 20 33 29 |e-extent| nil] 3)|
|00003340| 20 28 23 24 20 2e 20 31 | 33 30 30 30 29 29 0a 28 | (#$ . 1|3000)).(|
|00003350| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 09 c2 5c 22 |byte-cod|e "...\"|
|00003360| 88 c3 09 0c 5c 22 88 c5 | 09 c6 c7 23 87 22 20 5b |....\"..|...#." [|
|00003370| 73 65 74 2d 65 78 74 65 | 6e 74 2d 66 61 63 65 20 |set-exte|nt-face |
|00003380| 6d 6f 64 65 6c 69 6e 65 | 2d 6d 6f 64 69 66 69 65 |modeline|-modifie|
|00003390| 64 2d 65 78 74 65 6e 74 | 20 6d 6f 64 65 6c 69 6e |d-extent| modelin|
|000033a0| 65 2d 6d 6f 75 73 61 62 | 6c 65 20 73 65 74 2d 65 |e-mousab|le set-e|
|000033b0| 78 74 65 6e 74 2d 6b 65 | 79 6d 61 70 20 6d 6f 64 |xtent-ke|ymap mod|
|000033c0| 65 6c 69 6e 65 2d 6d 6f | 64 69 66 69 65 64 2d 6d |eline-mo|dified-m|
|000033d0| 61 70 20 73 65 74 2d 65 | 78 74 65 6e 74 2d 70 72 |ap set-e|xtent-pr|
|000033e0| 6f 70 65 72 74 79 20 68 | 65 6c 70 2d 65 63 68 6f |operty h|elp-echo|
|000033f0| 20 22 62 75 74 74 6f 6e | 32 20 74 6f 67 67 6c 65 | "button|2 toggle|
|00003400| 73 20 74 68 65 20 62 75 | 66 66 65 72 27 73 20 72 |s the bu|ffer's r|
|00003410| 65 61 64 2d 6f 6e 6c 79 | 20 73 74 61 74 75 73 22 |ead-only| status"|
|00003420| 5d 20 34 29 0a 23 40 36 | 39 20 4d 6f 64 65 6c 69 |] 4).#@6|9 Modeli|
|00003430| 6e 65 20 63 6f 6e 74 72 | 6f 6c 20 66 6f 72 20 64 |ne contr|ol for d|
|00003440| 69 73 70 6c 61 79 69 6e | 67 20 77 68 65 74 68 65 |isplayin|g whethe|
|00003450| 72 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |r curren|t buffer|
|00003460| 20 69 73 20 6d 6f 64 69 | 66 69 65 64 2e 1f 0a 28 | is modi|fied...(|
|00003470| 64 65 66 63 6f 6e 73 74 | 20 6d 6f 64 65 6c 69 6e |defconst| modelin|
|00003480| 65 2d 6d 6f 64 69 66 69 | 65 64 20 28 70 75 72 65 |e-modifi|ed (pure|
|00003490| 63 6f 70 79 20 27 28 22 | 2d 2d 25 31 2a 25 31 2b |copy '("|--%1*%1+|
|000034a0| 2d 22 29 29 20 28 23 24 | 20 2e 20 31 33 33 35 34 |-")) (#$| . 13354|
|000034b0| 29 29 0a 28 6d 61 6b 65 | 2d 76 61 72 69 61 62 6c |)).(make|-variabl|
|000034c0| 65 2d 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 20 27 |e-buffer|-local '|
|000034d0| 6d 6f 64 65 6c 69 6e 65 | 2d 6d 6f 64 69 66 69 65 |modeline|-modifie|
|000034e0| 64 29 0a 23 40 36 38 20 | 4b 65 79 6d 61 70 20 63 |d).#@68 |Keymap c|
|000034f0| 6f 6e 73 75 6c 74 65 64 | 20 66 6f 72 20 6d 6f 75 |onsulted| for mou|
|00003500| 73 65 2d 63 6c 69 63 6b | 73 20 6f 6e 20 74 68 65 |se-click|s on the|
|00003510| 20 6d 6f 64 65 6c 69 6e | 65 2d 6e 61 72 72 6f 77 | modelin|e-narrow|
|00003520| 65 64 20 73 74 72 69 6e | 67 2e 1f 0a 28 64 65 66 |ed strin|g...(def|
|00003530| 76 61 72 20 6d 6f 64 65 | 6c 69 6e 65 2d 6e 61 72 |var mode|line-nar|
|00003540| 72 6f 77 65 64 2d 6d 61 | 70 20 28 6d 61 6b 65 2d |rowed-ma|p (make-|
|00003550| 73 70 61 72 73 65 2d 6b | 65 79 6d 61 70 20 27 6d |sparse-k|eymap 'm|
|00003560| 6f 64 65 6c 69 6e 65 2d | 6e 61 72 72 6f 77 65 64 |odeline-|narrowed|
|00003570| 2d 6d 61 70 29 20 28 23 | 24 20 2e 20 31 33 35 34 |-map) (#|$ . 1354|
|00003580| 34 29 29 0a 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |4)).(def|ine-key |
|00003590| 6d 6f 64 65 6c 69 6e 65 | 2d 6e 61 72 72 6f 77 65 |modeline|-narrowe|
|000035a0| 64 2d 6d 61 70 20 27 62 | 75 74 74 6f 6e 32 20 23 |d-map 'b|utton2 #|
|000035b0| 5b 28 65 76 65 6e 74 29 | 20 22 c0 20 19 c2 8e c3 |[(event)| ". ....|
|000035c0| c4 0d 21 21 88 c6 c7 21 | 2a 87 22 20 5b 73 65 6c |..!!...!|*." [sel|
|000035d0| 65 63 74 65 64 2d 77 69 | 6e 64 6f 77 20 73 61 76 |ected-wi|ndow sav|
|000035e0| 65 2d 73 65 6c 65 63 74 | 65 64 2d 77 69 6e 64 6f |e-select|ed-windo|
|000035f0| 77 2d 77 69 6e 64 6f 77 | 20 28 28 62 79 74 65 2d |w-window| ((byte-|
|00003600| 63 6f 64 65 20 22 c0 09 | 21 ab 84 c2 09 21 88 c0 |code "..|!....!..|
|00003610| 87 22 20 5b 77 69 6e 64 | 6f 77 2d 6c 69 76 65 2d |." [wind|ow-live-|
|00003620| 70 20 73 61 76 65 2d 73 | 65 6c 65 63 74 65 64 2d |p save-s|elected-|
|00003630| 77 69 6e 64 6f 77 2d 77 | 69 6e 64 6f 77 20 73 65 |window-w|indow se|
|00003640| 6c 65 63 74 2d 77 69 6e | 64 6f 77 5d 20 32 29 29 |lect-win|dow] 2))|
|00003650| 20 73 65 6c 65 63 74 2d | 77 69 6e 64 6f 77 20 65 | select-|window e|
|00003660| 76 65 6e 74 2d 77 69 6e | 64 6f 77 20 65 76 65 6e |vent-win|dow even|
|00003670| 74 20 63 61 6c 6c 2d 69 | 6e 74 65 72 61 63 74 69 |t call-i|nteracti|
|00003680| 76 65 6c 79 20 77 69 64 | 65 6e 5d 20 33 20 6e 69 |vely wid|en] 3 ni|
|00003690| 6c 20 22 65 22 5d 29 0a | 23 40 34 37 20 45 78 74 |l "e"]).|#@47 Ext|
|000036a0| 65 6e 74 20 63 6f 76 65 | 72 69 6e 67 20 74 68 65 |ent cove|ring the|
|000036b0| 20 6d 6f 64 65 6c 69 6e | 65 2d 6e 61 72 72 6f 77 | modelin|e-narrow|
|000036c0| 65 64 20 73 74 72 69 6e | 67 2e 1f 0a 28 64 65 66 |ed strin|g...(def|
|000036d0| 76 61 72 20 6d 6f 64 65 | 6c 69 6e 65 2d 6e 61 72 |var mode|line-nar|
|000036e0| 72 6f 77 65 64 2d 65 78 | 74 65 6e 74 20 28 62 79 |rowed-ex|tent (by|
|000036f0| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 89 5c 22 87 22 |te-code |"...\"."|
|00003700| 20 5b 6d 61 6b 65 2d 65 | 78 74 65 6e 74 20 6e 69 | [make-e|xtent ni|
|00003710| 6c 5d 20 33 29 20 28 23 | 24 20 2e 20 31 33 39 38 |l] 3) (#|$ . 1398|
|00003720| 31 29 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |1)).(byt|e-code "|
|00003730| c0 09 c2 5c 22 88 c3 09 | 0c 5c 22 88 c5 09 c6 c7 |...\"...|.\".....|
|00003740| 23 88 c8 c9 ca cb 21 0e | 0c cd 42 0e 0e cf 42 ca |#.....!.|..B...B.|
|00003750| d0 21 d1 ca d2 21 0e 13 | cb d4 d5 45 42 09 d6 42 |.!...!..|...EB..B|
|00003760| d7 ca d8 21 ca d9 21 ca | da 21 ca db 21 ca dc 21 |...!..!.|.!..!..!|
|00003770| af 0e 5c 22 87 22 20 5b | 73 65 74 2d 65 78 74 65 |..\"." [|set-exte|
|00003780| 6e 74 2d 66 61 63 65 20 | 6d 6f 64 65 6c 69 6e 65 |nt-face |modeline|
|00003790| 2d 6e 61 72 72 6f 77 65 | 64 2d 65 78 74 65 6e 74 |-narrowe|d-extent|
|000037a0| 20 6d 6f 64 65 6c 69 6e | 65 2d 6d 6f 75 73 61 62 | modelin|e-mousab|
|000037b0| 6c 65 20 73 65 74 2d 65 | 78 74 65 6e 74 2d 6b 65 |le set-e|xtent-ke|
|000037c0| 79 6d 61 70 20 6d 6f 64 | 65 6c 69 6e 65 2d 6e 61 |ymap mod|eline-na|
|000037d0| 72 72 6f 77 65 64 2d 6d | 61 70 20 73 65 74 2d 65 |rrowed-m|ap set-e|
|000037e0| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 68 |xtent-pr|operty h|
|000037f0| 65 6c 70 2d 65 63 68 6f | 20 22 62 75 74 74 6f 6e |elp-echo| "button|
|00003800| 32 20 77 69 64 65 6e 73 | 20 74 68 65 20 62 75 66 |2 widens| the buf|
|00003810| 66 65 72 22 20 73 65 74 | 2d 64 65 66 61 75 6c 74 |fer" set|-default|
|00003820| 20 6d 6f 64 65 6c 69 6e | 65 2d 66 6f 72 6d 61 74 | modelin|e-format|
|00003830| 20 70 75 72 65 63 6f 70 | 79 20 22 22 20 6d 6f 64 | purecop|y "" mod|
|00003840| 65 6c 69 6e 65 2d 6d 6f | 64 69 66 69 65 64 2d 65 |eline-mo|dified-e|
|00003850| 78 74 65 6e 74 20 6d 6f | 64 65 6c 69 6e 65 2d 6d |xtent mo|deline-m|
|00003860| 6f 64 69 66 69 65 64 20 | 6d 6f 64 65 6c 69 6e 65 |odified |modeline|
|00003870| 2d 62 75 66 66 65 72 2d | 69 64 2d 65 78 74 65 6e |-buffer-|id-exten|
|00003880| 74 20 6d 6f 64 65 6c 69 | 6e 65 2d 62 75 66 66 65 |t modeli|ne-buffe|
|00003890| 72 2d 69 64 65 6e 74 69 | 66 69 63 61 74 69 6f 6e |r-identi|fication|
|000038a0| 20 22 20 20 20 22 20 67 | 6c 6f 62 61 6c 2d 6d 6f | " " g|lobal-mo|
|000038b0| 64 65 2d 73 74 72 69 6e | 67 20 22 20 20 20 25 5b |de-strin|g " %[|
|000038c0| 28 22 20 6d 6f 64 65 6c | 69 6e 65 2d 6d 69 6e 6f |(" model|ine-mino|
|000038d0| 72 2d 6d 6f 64 65 2d 65 | 78 74 65 6e 74 20 6d 6f |r-mode-e|xtent mo|
|000038e0| 64 65 2d 6e 61 6d 65 20 | 6d 69 6e 6f 72 2d 6d 6f |de-name |minor-mo|
|000038f0| 64 65 2d 61 6c 69 73 74 | 20 22 25 6e 22 20 6d 6f |de-alist| "%n" mo|
|00003900| 64 65 6c 69 6e 65 2d 70 | 72 6f 63 65 73 73 20 22 |deline-p|rocess "|
|00003910| 29 25 5d 2d 2d 2d 2d 22 | 20 28 6c 69 6e 65 2d 6e |)%]----"| (line-n|
|00003920| 75 6d 62 65 72 2d 6d 6f | 64 65 20 22 4c 25 6c 2d |umber-mo|de "L%l-|
|00003930| 2d 22 29 20 28 63 6f 6c | 75 6d 6e 2d 6e 75 6d 62 |-") (col|umn-numb|
|00003940| 65 72 2d 6d 6f 64 65 20 | 22 43 25 63 2d 2d 22 29 |er-mode |"C%c--")|
|00003950| 20 28 2d 33 20 2e 20 22 | 25 70 22 29 20 22 2d 25 | (-3 . "|%p") "-%|
|00003960| 2d 22 5d 20 31 37 29 0a | 23 40 33 30 34 20 43 68 |-"] 17).|#@304 Ch|
|00003970| 61 6e 67 65 20 77 68 65 | 74 68 65 72 20 74 68 69 |ange whe|ther thi|
|00003980| 73 20 62 75 66 66 65 72 | 20 69 73 20 76 69 73 69 |s buffer| is visi|
|00003990| 74 69 6e 67 20 69 74 73 | 20 66 69 6c 65 20 72 65 |ting its| file re|
|000039a0| 61 64 2d 6f 6e 6c 79 2e | 0a 57 69 74 68 20 61 72 |ad-only.|.With ar|
|000039b0| 67 2c 20 73 65 74 20 72 | 65 61 64 2d 6f 6e 6c 79 |g, set r|ead-only|
|000039c0| 20 69 66 66 20 61 72 67 | 20 69 73 20 70 6f 73 69 | iff arg| is posi|
|000039d0| 74 69 76 65 2e 0a 54 68 | 69 73 20 66 75 6e 63 74 |tive..Th|is funct|
|000039e0| 69 6f 6e 20 69 73 20 64 | 65 73 69 67 6e 65 64 20 |ion is d|esigned |
|000039f0| 74 6f 20 62 65 20 63 61 | 6c 6c 65 64 20 77 68 65 |to be ca|lled whe|
|00003a00| 6e 20 74 68 65 20 72 65 | 61 64 2d 6f 6e 6c 79 20 |n the re|ad-only |
|00003a10| 69 6e 64 69 63 61 74 6f | 72 20 6f 6e 20 74 68 65 |indicato|r on the|
|00003a20| 0a 6d 6f 64 65 6c 69 6e | 65 20 69 73 20 63 6c 69 |.modelin|e is cli|
|00003a30| 63 6b 65 64 2e 20 20 49 | 74 20 77 69 6c 6c 20 63 |cked. I|t will c|
|00003a40| 61 6c 6c 20 60 76 63 2d | 74 6f 67 67 6c 65 2d 72 |all `vc-|toggle-r|
|00003a50| 65 61 64 2d 6f 6e 6c 79 | 27 20 69 66 20 61 76 61 |ead-only|' if ava|
|00003a60| 69 6c 61 62 6c 65 2c 0a | 6f 74 68 65 72 77 69 73 |ilable,.|otherwis|
|00003a70| 65 20 69 74 20 77 69 6c | 6c 20 63 61 6c 6c 20 74 |e it wil|l call t|
|00003a80| 68 65 20 75 73 75 61 6c | 20 60 74 6f 67 67 6c 65 |he usual| `toggle|
|00003a90| 2d 72 65 61 64 2d 6f 6e | 6c 79 27 2e 1f 0a 28 64 |-read-on|ly'...(d|
|00003aa0| 65 66 61 6c 69 61 73 20 | 27 6d 6f 64 65 6c 69 6e |efalias |'modelin|
|00003ab0| 65 2d 74 6f 67 67 6c 65 | 2d 72 65 61 64 2d 6f 6e |e-toggle|-read-on|
|00003ac0| 6c 79 20 23 5b 6e 69 6c | 20 22 c0 c1 21 ab 83 c1 |ly #[nil| "..!...|
|00003ad0| 20 87 c2 20 87 22 20 5b | 66 62 6f 75 6e 64 70 20 | .. ." [|fboundp |
|00003ae0| 76 63 2d 74 6f 67 67 6c | 65 2d 72 65 61 64 2d 6f |vc-toggl|e-read-o|
|00003af0| 6e 6c 79 20 74 6f 67 67 | 6c 65 2d 72 65 61 64 2d |nly togg|le-read-|
|00003b00| 6f 6e 6c 79 5d 20 32 20 | 28 23 24 20 2e 20 31 34 |only] 2 |(#$ . 14|
|00003b10| 37 30 32 29 20 6e 69 6c | 5d 29 0a |702) nil|]). |
+--------+-------------------------+-------------------------+--------+--------+